]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
13 years agoNovember 31 is not a valid date 43/head
Wes Bos [Wed, 9 Nov 2011 18:52:11 +0000 (13:52 -0500)] 
November 31 is not a valid date

Changed to November 30

13 years agoUpdate README.markdown
Tim Wood [Tue, 8 Nov 2011 21:48:34 +0000 (13:48 -0800)] 
Update README.markdown

13 years agoUpdate README.markdown
Tim Wood [Tue, 8 Nov 2011 21:47:54 +0000 (13:47 -0800)] 
Update README.markdown

13 years agoMerge pull request #41 from jgwhite/master
Tim Wood [Tue, 8 Nov 2011 21:42:57 +0000 (13:42 -0800)] 
Merge pull request #41 from jgwhite/master

Generalized Unit Test for 'zz'

13 years agoGeneralized unit tests for z and zz 41/head
Jamie White [Tue, 8 Nov 2011 18:28:43 +0000 (18:28 +0000)] 
Generalized unit tests for z and zz

Also moved YY test into language tests.

13 years agoRunning build script for #38
Tim Wood [Mon, 7 Nov 2011 22:45:31 +0000 (14:45 -0800)] 
Running build script for #38

13 years agoMerge pull request #38 from martoche/fr
Tim Wood [Mon, 7 Nov 2011 22:43:33 +0000 (14:43 -0800)] 
Merge pull request #38 from martoche/fr

Various fixes for French.

13 years agoMerge pull request #39 from jgwhite/master
Tim Wood [Mon, 7 Nov 2011 17:21:28 +0000 (09:21 -0800)] 
Merge pull request #39 from jgwhite/master

Moment.format('YY') Returns Zero-filled Year

13 years agoUnit test for YY format 39/head
Jamie White [Mon, 7 Nov 2011 01:37:54 +0000 (01:37 +0000)] 
Unit test for YY format

13 years agoYY formatter returns leftZeroPadded string
Jamie White [Mon, 7 Nov 2011 01:28:06 +0000 (01:28 +0000)] 
YY formatter returns leftZeroPadded string

13 years agoVarious fixes for French. 38/head
Martin Ottenwaelter [Sat, 5 Nov 2011 19:18:53 +0000 (20:18 +0100)] 
Various fixes for French.

13 years agoTest paths for live site
Tim Wood [Thu, 3 Nov 2011 17:27:33 +0000 (10:27 -0700)] 
Test paths for live site

13 years agoMerge pull request #37 from jfroffice/master
Tim Wood [Thu, 3 Nov 2011 16:29:13 +0000 (09:29 -0700)] 
Merge pull request #37 from jfroffice/master

fix for french language & time elapsed in the same second

13 years agoMerge branch 'dev'
Tim Wood [Thu, 3 Nov 2011 16:28:06 +0000 (09:28 -0700)] 
Merge branch 'dev'

13 years agoAdding google analytics to all pages, cleaning up test paths
Tim Wood [Wed, 2 Nov 2011 18:57:46 +0000 (11:57 -0700)] 
Adding google analytics to all pages, cleaning up test paths

13 years agofixed time elapsed if it happend in the same second 37/head
John Fischer [Wed, 2 Nov 2011 00:26:39 +0000 (01:26 +0100)] 
fixed time elapsed if it happend in the same second
fix french language

13 years agoAdding page titles
Tim Wood [Tue, 1 Nov 2011 22:46:37 +0000 (15:46 -0700)] 
Adding page titles

13 years agoAdding day getter to docs
Tim Wood [Tue, 1 Nov 2011 22:00:54 +0000 (15:00 -0700)] 
Adding day getter to docs

13 years agoChanged documentation to reflect date instead of day
Tim Wood [Tue, 1 Nov 2011 21:00:10 +0000 (14:00 -0700)] 
Changed documentation to reflect date instead of day

13 years agoCleaning up folder structure, adding css to build process
Tim Wood [Tue, 1 Nov 2011 20:31:53 +0000 (13:31 -0700)] 
Cleaning up folder structure, adding css to build process

13 years agoFinishing docs conversion to jade
Tim Wood [Tue, 1 Nov 2011 20:09:01 +0000 (13:09 -0700)] 
Finishing docs conversion to jade

13 years agoCheckpoint 3
Tim Wood [Tue, 1 Nov 2011 18:24:50 +0000 (11:24 -0700)] 
Checkpoint 3

13 years agoAnother checkpoint
Tim Wood [Tue, 1 Nov 2011 17:23:46 +0000 (10:23 -0700)] 
Another checkpoint

13 years agoCheckpoint for converting docs html to jade
Tim Wood [Tue, 1 Nov 2011 17:03:12 +0000 (10:03 -0700)] 
Checkpoint for converting docs html to jade

13 years agoAdding Favicon
Tim Wood [Tue, 1 Nov 2011 15:04:19 +0000 (08:04 -0700)] 
Adding Favicon

13 years agoRebuilding site homepage.
Tim Wood [Tue, 1 Nov 2011 00:59:30 +0000 (17:59 -0700)] 
Rebuilding site homepage.

Creating build process for actual site.

13 years agoMerge branch 'master' of https://github.com/timrwood/moment
Tim Wood [Mon, 31 Oct 2011 18:16:06 +0000 (11:16 -0700)] 
Merge branch 'master' of https://github.com/timrwood/moment

13 years agoWrapping `native` in quotes so google closure compiler doesn't throw an error.
Tim Wood [Sat, 29 Oct 2011 03:13:42 +0000 (20:13 -0700)] 
Wrapping `native` in quotes so google closure compiler doesn't throw an error.

See issue #34

13 years agoChanging title on test page 1.1.0
Tim Wood [Tue, 25 Oct 2011 23:29:19 +0000 (16:29 -0700)] 
Changing title on test page

13 years agoTrimming bytes and fixing the sometimes failing tests
Tim Wood [Tue, 25 Oct 2011 17:29:20 +0000 (10:29 -0700)] 
Trimming bytes and fixing the sometimes failing tests

moment.fn.from tests would sometimes fail on rounding to different
months. Tests have been relaxed as timeago doesn't have to be so exact
and adding days is inconsistent across months due to differing number
of days on different months.

13 years agoUpdating docs for moment.fn.diff
Tim Wood [Tue, 25 Oct 2011 17:12:10 +0000 (10:12 -0700)] 
Updating docs for moment.fn.diff

13 years agoAdding tests for weeks.
Tim Wood [Tue, 25 Oct 2011 17:12:00 +0000 (10:12 -0700)] 
Adding tests for weeks.

13 years agoTrimming off some bytes
Tim Wood [Tue, 25 Oct 2011 16:54:38 +0000 (09:54 -0700)] 
Trimming off some bytes

13 years agoAdding time specific diffs
Tim Wood [Tue, 25 Oct 2011 16:30:37 +0000 (09:30 -0700)] 
Adding time specific diffs

13 years agoMerge pull request #32 from braddunbar/falsey-setter-vals
Tim Wood [Tue, 25 Oct 2011 16:05:16 +0000 (09:05 -0700)] 
Merge pull request #32 from braddunbar/falsey-setter-vals

setters - falsey values

13 years agosetters - falsey values 31/head 32/head
Brad Dunbar [Mon, 24 Oct 2011 22:17:02 +0000 (18:17 -0400)] 
setters - falsey values

13 years agoFixing regex for `L LL LLL LLLL` and updating version number for 1.1.0
Tim Wood [Mon, 24 Oct 2011 17:55:03 +0000 (10:55 -0700)] 
Fixing regex for `L LL LLL LLLL` and updating version number for 1.1.0

13 years agoMerge pull request #30 from rachel-carvalho/master
Tim Wood [Fri, 21 Oct 2011 20:20:56 +0000 (13:20 -0700)] 
Merge pull request #30 from rachel-carvalho/master

long date format

13 years agoChanging page titles
Tim Wood [Fri, 21 Oct 2011 16:10:03 +0000 (09:10 -0700)] 
Changing page titles

13 years agoAdded long date format support (issue #29) 30/head
Rachel Carvalho [Fri, 21 Oct 2011 14:18:52 +0000 (12:18 -0200)] 
Added long date format support (issue #29)

13 years agoMerge pull request #28 from Keeguon/master
Tim Wood [Thu, 20 Oct 2011 02:47:47 +0000 (19:47 -0700)] 
Merge pull request #28 from Keeguon/master

More human relative time for seconds.

13 years agoFixed the "25 days" / "a month" ambiguity 28/head
Félix Bellanger [Thu, 20 Oct 2011 00:54:50 +0000 (02:54 +0200)] 
Fixed the "25 days" / "a month" ambiguity

13 years agoModified french prefix, and fixed tests related to seconds
Félix Bellanger [Thu, 20 Oct 2011 00:46:54 +0000 (02:46 +0200)] 
Modified french prefix, and fixed tests related to seconds

13 years agoFixed relative time strings related to seconds to make them more human
Félix Bellanger [Wed, 19 Oct 2011 22:14:38 +0000 (00:14 +0200)] 
Fixed relative time strings related to seconds to make them more human

13 years agoUpdate README.markdown
Tim Wood [Tue, 18 Oct 2011 20:46:35 +0000 (13:46 -0700)] 
Update README.markdown

13 years agoUpdate README.markdown
Tim Wood [Tue, 18 Oct 2011 20:46:17 +0000 (13:46 -0700)] 
Update README.markdown

13 years agoUpdate README.markdown
Tim Wood [Tue, 18 Oct 2011 20:44:56 +0000 (13:44 -0700)] 
Update README.markdown

13 years agoAdding version number to namespace and updating version to 1.0.1 1.0.1
Tim Wood [Tue, 18 Oct 2011 16:49:42 +0000 (09:49 -0700)] 
Adding version number to namespace and updating version to 1.0.1

13 years agoChanges to fix unit tests in browser for #25
Tim Wood [Tue, 18 Oct 2011 16:47:31 +0000 (09:47 -0700)] 
Changes to fix unit tests in browser for #25

13 years agoMerge pull request #25 from spmason/patch-1
Tim Wood [Tue, 18 Oct 2011 16:41:47 +0000 (09:41 -0700)] 
Merge pull request #25 from spmason/patch-1

Fix for moment not working under browserify

13 years agoFix for moment not working under browserify, because "window" is defined here 25/head
Steve Mason [Tue, 18 Oct 2011 12:37:46 +0000 (14:37 +0200)] 
Fix for moment not working under browserify, because "window" is defined here

13 years agoAdding syntax highlighting to the docs.
Tim Wood [Mon, 17 Oct 2011 23:47:19 +0000 (16:47 -0700)] 
Adding syntax highlighting to the docs.

13 years agoAdding filesize of unminified source to build script
Tim Wood [Mon, 17 Oct 2011 20:37:08 +0000 (13:37 -0700)] 
Adding filesize of unminified source to build script

13 years agoAdding to the docs
Tim Wood [Mon, 17 Oct 2011 20:12:47 +0000 (13:12 -0700)] 
Adding to the docs

13 years agoRemoving console.log from moment.lang
Tim Wood [Mon, 17 Oct 2011 20:04:07 +0000 (13:04 -0700)] 
Removing console.log from moment.lang

13 years agoChanging npm install to moment
Tim Wood [Mon, 17 Oct 2011 20:01:37 +0000 (13:01 -0700)] 
Changing npm install to moment

13 years agoFinishing docs and updating readme for 1.0.0 release
Tim Wood [Mon, 17 Oct 2011 19:58:01 +0000 (12:58 -0700)] 
Finishing docs and updating readme for 1.0.0 release

13 years agoUpdating the package.json and docs
Tim Wood [Mon, 17 Oct 2011 16:43:07 +0000 (09:43 -0700)] 
Updating the package.json and docs

13 years agoUpdating styles for docs
Tim Wood [Sun, 16 Oct 2011 18:35:28 +0000 (11:35 -0700)] 
Updating styles for docs

13 years agoAdding docs for parsing and manipulation
Tim Wood [Sun, 16 Oct 2011 17:13:05 +0000 (10:13 -0700)] 
Adding docs for parsing and manipulation

13 years agoAdding to the docs.
Tim Wood [Sat, 15 Oct 2011 01:07:33 +0000 (18:07 -0700)] 
Adding to the docs.

13 years agoStarting to build out proper documentation page
Tim Wood [Sat, 15 Oct 2011 00:50:25 +0000 (17:50 -0700)] 
Starting to build out proper documentation page

13 years agoCleaning up docs a bit for rename
Tim Wood [Sat, 15 Oct 2011 00:22:16 +0000 (17:22 -0700)] 
Cleaning up docs a bit for rename

13 years agoRenaming the library to 'moment'
Tim Wood [Sat, 15 Oct 2011 00:17:53 +0000 (17:17 -0700)] 
Renaming the library to 'moment'

13 years agoAdding Italian language unit tests
Tim Wood [Fri, 14 Oct 2011 23:41:49 +0000 (16:41 -0700)] 
Adding Italian language unit tests

13 years agoAdding gzip size report to build script
Tim Wood [Fri, 14 Oct 2011 18:50:53 +0000 (11:50 -0700)] 
Adding gzip size report to build script

13 years agoAdding automatic minified author / version / license comment
Tim Wood [Fri, 14 Oct 2011 18:37:41 +0000 (11:37 -0700)] 
Adding automatic minified author / version / license comment

13 years agoAdding _date.native() for issue #24
Tim Wood [Fri, 14 Oct 2011 18:11:16 +0000 (11:11 -0700)] 
Adding _date.native() for issue #24

_date.native() returns the native date object.

13 years agoAdding support for `_date.add('seconds', 2)`
Tim Wood [Fri, 14 Oct 2011 17:58:47 +0000 (10:58 -0700)] 
Adding support for `_date.add('seconds', 2)`

Added more robustness to the `.add` function. Now you can do all of the
following:
    _date.add('s', 1);
    _date.add('seconds', 1);
    _date.add({s:1});
    _date.add({seconds:1});

13 years agoAdding French unit tests
Tim Wood [Fri, 14 Oct 2011 16:35:23 +0000 (09:35 -0700)] 
Adding French unit tests

Changing June and July abbreviated names from 'jui' + 'jui' to 'juin' +
'juil' to differentiate them.

13 years agoAdding Portuguese unit tests
Tim Wood [Fri, 14 Oct 2011 01:03:03 +0000 (18:03 -0700)] 
Adding Portuguese unit tests

13 years agoChanging tests to move all language related tests to language specific test file
Tim Wood [Thu, 13 Oct 2011 21:53:51 +0000 (14:53 -0700)] 
Changing tests to move all language related tests to language specific test file

13 years agoAdding minifier in build script for lang files
Tim Wood [Thu, 13 Oct 2011 18:41:22 +0000 (11:41 -0700)] 
Adding minifier in build script for lang files

Now builds `lang/fr.min.js` and `lang/all.min.js`

13 years agoChanging _date.lang to require lang file if in node and lang not already loaded
Tim Wood [Thu, 13 Oct 2011 17:07:38 +0000 (10:07 -0700)] 
Changing _date.lang to require lang file if in node and lang not already loaded

Moving lang files to `./lang/` instead of `/underscore.date.lang/`

13 years agoRenaming test.html to index.html to access tests from timrwood.github.com/test/
Tim Wood [Thu, 13 Oct 2011 15:56:59 +0000 (08:56 -0700)] 
Renaming test.html to index.html to access tests from timrwood.github.com/test/

13 years agoAdding convenience methods per #22
Tim Wood [Thu, 13 Oct 2011 05:40:00 +0000 (22:40 -0700)] 
Adding convenience methods per #22

Adding `year month date day hour minute second`
Changing internal _date native `Date` object name to `_d` instead of
`date` to avoid collisions with the `_date.fn.date` method.

13 years agoAdding exposure to UnderscoreDate.prototype through _date.fn
Tim Wood [Wed, 12 Oct 2011 05:54:52 +0000 (22:54 -0700)] 
Adding exposure to UnderscoreDate.prototype through _date.fn

13 years agoadding diff and removing 'asMilliseconds' from from
Tim Wood [Wed, 12 Oct 2011 05:35:05 +0000 (22:35 -0700)] 
adding diff and removing 'asMilliseconds' from from

13 years agoUpdating to 0.6.1 0.6.1
Tim Wood [Tue, 11 Oct 2011 23:38:22 +0000 (16:38 -0700)] 
Updating to 0.6.1

Adding Portuguese, Italian, and French language support
Updating string arrays to use "Part_Part".split("_") instead of
["Part","Part"]

13 years agoAdding node_modules to gitignore
Tim Wood [Tue, 11 Oct 2011 23:13:48 +0000 (16:13 -0700)] 
Adding node_modules to gitignore

13 years agoMerge pull request #15 from aliem/italian
Tim Wood [Thu, 6 Oct 2011 16:15:45 +0000 (09:15 -0700)] 
Merge pull request #15 from aliem/italian

added italian language

13 years agoModified _date.lang example in node to pass correct properties.
Tim Wood [Thu, 6 Oct 2011 16:14:37 +0000 (09:14 -0700)] 
Modified _date.lang example in node to pass correct properties.

13 years agoadded italian language 15/head
Lorenzo Giuliani [Thu, 6 Oct 2011 09:02:14 +0000 (11:02 +0200)] 
added italian language

13 years agoAdding changelog for 0.6.0 0.6.0
Tim Wood [Wed, 21 Sep 2011 16:49:04 +0000 (09:49 -0700)] 
Adding changelog for 0.6.0

13 years agoUpdating version number to 0.6.0
Tim Wood [Wed, 21 Sep 2011 16:40:09 +0000 (09:40 -0700)] 
Updating version number to 0.6.0

13 years agoFinalizing home page for 0.6.0
Tim Wood [Wed, 21 Sep 2011 16:38:14 +0000 (09:38 -0700)] 
Finalizing home page for 0.6.0

Finishing writing teaser, cleaning up styles

13 years agoAdding .gitignore
Tim Wood [Wed, 21 Sep 2011 00:39:36 +0000 (17:39 -0700)] 
Adding .gitignore

13 years agocheckpoint for updating home page
Tim Wood [Wed, 21 Sep 2011 00:35:39 +0000 (17:35 -0700)] 
checkpoint for updating home page

reducing duplication of documentation between home page and markdown page

13 years agoswitching to regex based format timezone
Tim Wood [Sat, 17 Sep 2011 00:47:31 +0000 (17:47 -0700)] 
switching to regex based format timezone

13 years agoupdating docs for 0.6.0
Tim Wood [Thu, 15 Sep 2011 19:58:52 +0000 (12:58 -0700)] 
updating docs for 0.6.0

13 years agoupdating docs for 0.6.0
Tim Wood [Thu, 15 Sep 2011 19:56:30 +0000 (12:56 -0700)] 
updating docs for 0.6.0

13 years agoFinishing _date.lang addition
Tim Wood [Thu, 15 Sep 2011 05:45:42 +0000 (22:45 -0700)] 
Finishing _date.lang addition

13 years agoadding _date.lang and test cases
Tim Wood [Wed, 14 Sep 2011 19:52:55 +0000 (12:52 -0700)] 
adding _date.lang and test cases
_date.lang will allow developers to easily store and switch languages based on keys

13 years agoMerge branch 'master' of git://github.com/timrwood/underscore.date into dev
Tim Wood [Wed, 14 Sep 2011 16:47:33 +0000 (09:47 -0700)] 
Merge branch 'master' of git://github.com/timrwood/underscore.date into dev

13 years agoMerge pull request #12 from jalex79/master
Tim Wood [Wed, 14 Sep 2011 16:47:19 +0000 (09:47 -0700)] 
Merge pull request #12 from jalex79/master

Create file that suport languages.

13 years agoFIX: readme 12/head
Jefferson Alexandrino [Wed, 14 Sep 2011 13:37:35 +0000 (10:37 -0300)] 
FIX: readme

13 years agoChanges in Readme to Know hot to change _date
Jefferson Alexandrino [Wed, 14 Sep 2011 13:34:33 +0000 (10:34 -0300)] 
Changes in Readme to Know hot to change _date

13 years agoAdd modifications to portuguese language
Jefferson Alexandrino [Wed, 14 Sep 2011 13:34:08 +0000 (10:34 -0300)] 
Add modifications to portuguese language

13 years ago_date(input, format) can now accept an array of formats as the second parameter.
Tim Wood [Wed, 7 Sep 2011 21:33:15 +0000 (14:33 -0700)] 
_date(input, format) can now accept an array of formats as the second parameter.

13 years agomoving performance tests to jsperf.com/underscore-date
Tim Wood [Thu, 1 Sep 2011 21:25:33 +0000 (14:25 -0700)] 
moving performance tests to jsperf.com/underscore-date