]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
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 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

13 years agomade some filesize and speed improvements on _date(string, format)
Tim Wood [Thu, 1 Sep 2011 17:44:11 +0000 (10:44 -0700)] 
made some filesize and speed improvements on _date(string, format)

_date(string, format) is now 33% faster and cut out a few kbs in the process.
cleaned up the css styles for the unit tests

14 years agoupdating docs styles
Tim Wood [Tue, 23 Aug 2011 17:04:11 +0000 (10:04 -0700)] 
updating docs styles

14 years agoAdapting test suite to work in node as well as the browser
Tim Wood [Wed, 17 Aug 2011 00:00:31 +0000 (17:00 -0700)] 
Adapting test suite to work in node as well as the browser

14 years agoAdding 0.5.2 to the changelog
Tim Wood [Mon, 11 Jul 2011 15:57:54 +0000 (08:57 -0700)] 
Adding 0.5.2 to the changelog

14 years agoAdding 0.5.2 to the changelog
Tim Wood [Mon, 11 Jul 2011 15:55:51 +0000 (08:55 -0700)] 
Adding 0.5.2 to the changelog

14 years agocleaning up the rounding on _date.from() 0.5.2
Tim Wood [Mon, 11 Jul 2011 15:50:00 +0000 (08:50 -0700)] 
cleaning up the rounding on _date.from()

Adding documentation for what text would be shown when.
Fixing '1 minutes ago' bug.
Use Math.round instead of Math.floor for the nearest date.

14 years agoadding responsive widths for the docs
Tim Wood [Mon, 27 Jun 2011 21:53:48 +0000 (14:53 -0700)] 
adding responsive widths for the docs

14 years agoadding documentation stylings
Tim Wood [Mon, 27 Jun 2011 20:01:35 +0000 (13:01 -0700)] 
adding documentation stylings

14 years agofinishing themed documentation
Tim Wood [Mon, 27 Jun 2011 18:53:58 +0000 (11:53 -0700)] 
finishing themed documentation

14 years agoMerge branch 'gh-pages' of github.com:timrwood/underscore.date into gh-pages
Tim Wood [Mon, 27 Jun 2011 16:37:50 +0000 (09:37 -0700)] 
Merge branch 'gh-pages' of github.com:timrwood/underscore.date into gh-pages

14 years agogithub generated gh-pages branch
Tim Wood [Mon, 27 Jun 2011 16:37:11 +0000 (09:37 -0700)] 
github generated gh-pages branch

14 years agofixing an error in the changelog
Tim Wood [Thu, 23 Jun 2011 22:27:26 +0000 (15:27 -0700)] 
fixing an error in the changelog

14 years agoadding 0.5.1 to npm
Tim Wood [Thu, 16 Jun 2011 19:41:45 +0000 (12:41 -0700)] 
adding 0.5.1 to npm

14 years agofixing bug with underscore mixin and adding tests for underscore mixins
Tim Wood [Thu, 16 Jun 2011 19:40:05 +0000 (12:40 -0700)] 
fixing bug with underscore mixin and adding tests for underscore mixins

14 years agoFixing mixin with underscore 0.5.1
Tim Wood [Thu, 16 Jun 2011 19:38:07 +0000 (12:38 -0700)] 
Fixing mixin with underscore

14 years agoFixing mixin with underscore
Tim Wood [Thu, 16 Jun 2011 19:37:26 +0000 (12:37 -0700)] 
Fixing mixin with underscore

14 years agoMerge pull request #5 from moll/patch-1
Tim Wood [Thu, 16 Jun 2011 19:36:58 +0000 (12:36 -0700)] 
Merge pull request #5 from moll/patch-1

Fixed mixin with Underscore.

14 years agoFixed mixin with Underscore. 5/head
Andri Möll [Thu, 16 Jun 2011 18:48:35 +0000 (11:48 -0700)] 
Fixed mixin with Underscore.

14 years agomerging from dev
Tim Wood [Mon, 13 Jun 2011 16:20:29 +0000 (09:20 -0700)] 
merging from dev

14 years agoupdating npm and readme for 0.5.0
Tim Wood [Mon, 13 Jun 2011 16:19:19 +0000 (09:19 -0700)] 
updating npm and readme for 0.5.0

14 years agomore work on readme for 0.5.0 0.5.0
Tim Wood [Mon, 13 Jun 2011 16:12:14 +0000 (09:12 -0700)] 
more work on readme for 0.5.0

14 years agoFinishing readme
Tim Wood [Mon, 13 Jun 2011 16:00:03 +0000 (09:00 -0700)] 
Finishing readme

14 years agoworking on readme
Tim Wood [Thu, 9 Jun 2011 18:06:32 +0000 (11:06 -0700)] 
working on readme

14 years agoworking on issue 4 and changes for 0.5.0
Tim Wood [Thu, 9 Jun 2011 17:30:53 +0000 (10:30 -0700)] 
working on issue 4 and changes for 0.5.0

14 years agoUpdating npm package to 0.4.1
Tim Wood [Mon, 9 May 2011 16:14:05 +0000 (09:14 -0700)] 
Updating npm package to 0.4.1