]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
12 years agoAvoid mutating the passed array on initialization 505/head
Ivan Krechetov [Sat, 10 Nov 2012 11:07:09 +0000 (12:07 +0100)] 
Avoid mutating the passed array on initialization

12 years agoMerge pull request #502 from ichernev/bugfix/postformat-test-race
Tim Wood [Fri, 9 Nov 2012 17:44:05 +0000 (09:44 -0800)] 
Merge pull request #502 from ichernev/bugfix/postformat-test-race

Fixed race condition in tests created by preparse/postformat

12 years agoSet language back to en after every language test 502/head
Iskren Chernev [Fri, 9 Nov 2012 08:09:25 +0000 (00:09 -0800)] 
Set language back to en after every language test

12 years agoFixed race condition in tests created by preparse/postformat
Iskren Chernev [Tue, 6 Nov 2012 21:12:31 +0000 (13:12 -0800)] 
Fixed race condition in tests created by preparse/postformat

12 years agofixing flaky test
Tim Wood [Tue, 6 Nov 2012 18:20:52 +0000 (10:20 -0800)] 
fixing flaky test

12 years agoMerging in Hebrew lang from master
Tim Wood [Tue, 6 Nov 2012 18:16:16 +0000 (10:16 -0800)] 
Merging in Hebrew lang from master

12 years agoMerge branch 'master' into develop
Tim Wood [Tue, 6 Nov 2012 18:10:41 +0000 (10:10 -0800)] 
Merge branch 'master' into develop

* master:
  new translate with tests
  new translate with tests
  hebrew language

12 years agomerging master into develop
Tim Wood [Tue, 6 Nov 2012 18:10:21 +0000 (10:10 -0800)] 
merging master into develop

12 years agoMerge pull request #500 from ichernev/feature/lang-sl
Iskren Ivov Chernev [Mon, 5 Nov 2012 10:31:18 +0000 (02:31 -0800)] 
Merge pull request #500 from ichernev/feature/lang-sl

Feature/lang sl

12 years agoFixed code style to keep jshint happy 499/head 500/head
Iskren Chernev [Mon, 5 Nov 2012 10:24:24 +0000 (02:24 -0800)] 
Fixed code style to keep jshint happy

12 years agoSlovenian translation added.
Robert Sedovsek [Fri, 2 Nov 2012 00:39:34 +0000 (01:39 +0100)] 
Slovenian translation added.

12 years agoMerge pull request #487 from ichernev/feature/fix-bg-ordinals
Iskren Ivov Chernev [Mon, 5 Nov 2012 10:05:09 +0000 (02:05 -0800)] 
Merge pull request #487 from ichernev/feature/fix-bg-ordinals

Fixed Bulgarian ordinal numbers

12 years agoFixed Bulgarian ordinal numbers 487/head
Iskren Chernev [Tue, 30 Oct 2012 22:51:53 +0000 (15:51 -0700)] 
Fixed Bulgarian ordinal numbers

12 years agoMerge pull request #495 from aleafs/develop
Iskren Ivov Chernev [Sat, 3 Nov 2012 10:31:46 +0000 (03:31 -0700)] 
Merge pull request #495 from aleafs/develop

Fix bug to get week number of year.

It seems our ISO week number implementation was wrong. Check the wiki page
about it, and the talk section for more details on the current algorithm
http://en.wikipedia.org/wiki/ISO_week_date.

12 years agofix bug of get week number of a year 495/head
aleafs [Sat, 3 Nov 2012 08:29:43 +0000 (16:29 +0800)] 
fix bug of get week number of a year

12 years agoAdd test case for get week number of the year
aleafs [Sat, 3 Nov 2012 08:07:34 +0000 (16:07 +0800)] 
Add test case for get week number of the year

12 years agoMerge pull request #472 from DevelopmentIL/master
Tim Wood [Tue, 30 Oct 2012 21:00:49 +0000 (14:00 -0700)] 
Merge pull request #472 from DevelopmentIL/master

New language - Hebrew

12 years agonew translate with tests 472/head 521/head
Moshe Simantov [Tue, 30 Oct 2012 10:02:05 +0000 (12:02 +0200)] 
new translate with tests

12 years agonew translate with tests
Moshe Simantov [Tue, 30 Oct 2012 10:01:45 +0000 (12:01 +0200)] 
new translate with tests

12 years agoMerge pull request #483 from suvash/feature/lang-add-nepali
Tim Wood [Mon, 29 Oct 2012 19:12:03 +0000 (12:12 -0700)] 
Merge pull request #483 from suvash/feature/lang-add-nepali

Adds language definition for Nepali (Yay!)

12 years agoAdds language definition for Nepali (Yay!) 483/head
Suvash Thapaliya [Tue, 23 Oct 2012 20:18:47 +0000 (22:18 +0200)] 
Adds language definition for Nepali (Yay!)

- with preParse/postFormat support

12 years agoPassing tests for calling postformat on duration.humanize
Tim Wood [Mon, 29 Oct 2012 16:36:17 +0000 (09:36 -0700)] 
Passing tests for calling postformat on duration.humanize

12 years agoFailing tests for calling postformat on duration.humanize
Tim Wood [Mon, 29 Oct 2012 16:32:03 +0000 (09:32 -0700)] 
Failing tests for calling postformat on duration.humanize

#405

12 years agoMoving to an internal `makeMoment` function for moment.utc() and moment()
Tim Wood [Fri, 26 Oct 2012 22:56:08 +0000 (15:56 -0700)] 
Moving to an internal `makeMoment` function for moment.utc() and moment()

#481

12 years agoAlways set _useUTC to true when parsing using moment.utc()
Tim Wood [Fri, 26 Oct 2012 19:15:12 +0000 (08:15 -1100)] 
Always set _useUTC to true when parsing using moment.utc()

12 years agoMerge branch 'develop' of github.com:timrwood/moment into develop
Tim Wood [Fri, 26 Oct 2012 19:02:27 +0000 (08:02 -1100)] 
Merge branch 'develop' of github.com:timrwood/moment into develop

# By Petr Bela
# Via Petr Bela (3) and Tim Wood (1)
* 'develop' of github.com:timrwood/moment:
  fixed lint issues
  fix parsing July
  added Czech translation and tests; bug with July remaining...

12 years agoFixing zones tests to actually spawn new node processes for each timezone
Tim Wood [Fri, 26 Oct 2012 19:02:11 +0000 (08:02 -1100)] 
Fixing zones tests to actually spawn new node processes for each timezone

#481

12 years agoMerge pull request #478 from petrbela/develop
Tim Wood [Fri, 26 Oct 2012 16:24:13 +0000 (09:24 -0700)] 
Merge pull request #478 from petrbela/develop

Czech language translation

12 years agofixed lint issues 478/head
Petr Bela [Fri, 26 Oct 2012 05:54:41 +0000 (07:54 +0200)] 
fixed lint issues

12 years agoMerge branch 'feature/czech' into develop
Petr Bela [Fri, 26 Oct 2012 05:24:49 +0000 (07:24 +0200)] 
Merge branch 'feature/czech' into develop

12 years agofix parsing July
Petr Bela [Fri, 26 Oct 2012 05:24:35 +0000 (07:24 +0200)] 
fix parsing July

12 years agoMerge branch 'develop' into feature/czech
Petr Bela [Thu, 25 Oct 2012 23:20:01 +0000 (01:20 +0200)] 
Merge branch 'develop' into feature/czech

12 years agoadded Czech translation and tests; bug with July remaining...
Petr Bela [Thu, 25 Oct 2012 21:55:50 +0000 (23:55 +0200)] 
added Czech translation and tests; bug with July remaining...

12 years agohebrew language
Moshe Simantov [Thu, 25 Oct 2012 06:55:31 +0000 (08:55 +0200)] 
hebrew language

12 years agoPassing tests for adding singular/plural getters and setters #410
Tim Wood [Tue, 23 Oct 2012 01:04:16 +0000 (18:04 -0700)] 
Passing tests for adding singular/plural getters and setters #410

12 years agoFailing tests for adding singular/plural getters and setters #410
Tim Wood [Tue, 23 Oct 2012 01:00:46 +0000 (18:00 -0700)] 
Failing tests for adding singular/plural getters and setters #410

12 years agoPassing unit tests for singular add/subtract #410
Tim Wood [Tue, 23 Oct 2012 00:57:20 +0000 (17:57 -0700)] 
Passing unit tests for singular add/subtract #410

12 years agoFailing unit tests for singular add/subtract #410
Tim Wood [Tue, 23 Oct 2012 00:57:10 +0000 (17:57 -0700)] 
Failing unit tests for singular add/subtract #410

12 years agoPassing tests for #470
Tim Wood [Mon, 22 Oct 2012 23:44:52 +0000 (16:44 -0700)] 
Passing tests for #470

12 years agoFailing tests for #470
Tim Wood [Mon, 22 Oct 2012 23:44:43 +0000 (16:44 -0700)] 
Failing tests for #470

12 years agoUpdating preparse and postformat from #405 to use new parsing + language internals
Tim Wood [Mon, 22 Oct 2012 22:20:15 +0000 (15:20 -0700)] 
Updating preparse and postformat from #405 to use new parsing + language internals

12 years agoAdding moment.fn.toJSON
Tim Wood [Mon, 22 Oct 2012 21:17:22 +0000 (14:17 -0700)] 
Adding moment.fn.toJSON

#444

12 years agoMerge pull request #460 from timrwood/feature/lang-cleanup
Tim Wood [Mon, 22 Oct 2012 21:02:54 +0000 (14:02 -0700)] 
Merge pull request #460 from timrwood/feature/lang-cleanup

Language cleanup

12 years agoAdding tests and fix for #462 on develop
Tim Wood [Fri, 19 Oct 2012 17:17:24 +0000 (10:17 -0700)] 
Adding tests and fix for #462 on develop

12 years agoFixing race condition that is causing failing TravisCI tests 460/head
Tim Wood [Fri, 5 Oct 2012 22:38:10 +0000 (15:38 -0700)] 
Fixing race condition that is causing failing TravisCI tests

12 years agoLanguage cleanup
Tim Wood [Fri, 5 Oct 2012 22:26:06 +0000 (15:26 -0700)] 
Language cleanup

12 years agomerging in feature/constructor-refactor
Tim Wood [Fri, 5 Oct 2012 17:54:18 +0000 (10:54 -0700)] 
merging in feature/constructor-refactor

12 years agoMerging in develop 458/head
Tim Wood [Wed, 3 Oct 2012 16:21:19 +0000 (09:21 -0700)] 
Merging in develop

12 years agoMerging constructor refactor branch
Tim Wood [Tue, 2 Oct 2012 23:50:16 +0000 (16:50 -0700)] 
Merging constructor refactor branch

12 years agoUpdating readme with changelogs
Tim Wood [Tue, 2 Oct 2012 17:28:41 +0000 (10:28 -0700)] 
Updating readme with changelogs

12 years agoMerging 1.7.2 release
Tim Wood [Tue, 2 Oct 2012 17:19:07 +0000 (10:19 -0700)] 
Merging 1.7.2 release

12 years agoMerge branch 'hotfix/1.7.2'
Tim Wood [Tue, 2 Oct 2012 17:17:45 +0000 (10:17 -0700)] 
Merge branch 'hotfix/1.7.2'

* hotfix/1.7.2:
  Bumping version number for #455
  Passing tests for #455
  Failing tests for #455

12 years agoBumping version number for #455 1.7.2
Tim Wood [Tue, 2 Oct 2012 17:17:12 +0000 (10:17 -0700)] 
Bumping version number for #455

12 years agoPassing tests for #455
Tim Wood [Tue, 2 Oct 2012 17:13:32 +0000 (10:13 -0700)] 
Passing tests for #455

12 years agoFailing tests for #455
Tim Wood [Tue, 2 Oct 2012 17:12:09 +0000 (10:12 -0700)] 
Failing tests for #455

12 years agoCleaning up library to not use this._a[8] hacks. Parser/constructor now uses a config...
Tim Wood [Tue, 2 Oct 2012 04:54:07 +0000 (21:54 -0700)] 
Cleaning up library to not use this._a[8] hacks. Parser/constructor now uses a config object that stays throughout the input process for methods to attach any data to the final moment object

12 years agomerging develop
Tim Wood [Tue, 2 Oct 2012 01:58:41 +0000 (18:58 -0700)] 
merging develop

12 years agoMerging in master
Tim Wood [Tue, 2 Oct 2012 00:57:05 +0000 (17:57 -0700)] 
Merging in master

12 years agoMinifying for 1.7.1 release 1.7.1
Tim Wood [Mon, 1 Oct 2012 17:29:58 +0000 (10:29 -0700)] 
Minifying for 1.7.1 release

12 years agoMerging in feature/no-new-function
Tim Wood [Mon, 1 Oct 2012 17:29:07 +0000 (10:29 -0700)] 
Merging in feature/no-new-function

12 years agoBumping version for release 1.7.1
Tim Wood [Mon, 1 Oct 2012 16:52:44 +0000 (09:52 -0700)] 
Bumping version for release 1.7.1

12 years agoRemoving Date from iife #451
Tim Wood [Mon, 1 Oct 2012 16:50:06 +0000 (09:50 -0700)] 
Removing Date from iife #451

12 years agoMerge pull request #451 from gregtillbrook/feature/overridable-date
Tim Wood [Mon, 1 Oct 2012 16:10:13 +0000 (09:10 -0700)] 
Merge pull request #451 from gregtillbrook/feature/overridable-date

Remove Date locally scoped variable from iife so mock can be inserted by unit tests etc

12 years agofixed lang method tests Spanish month names
Rocky Meza [Sat, 29 Sep 2012 03:12:53 +0000 (21:12 -0600)] 
fixed lang method tests Spanish month names

12 years agoremove Date locally scoped varible from iife so mock can be inserted by unit tests etc 451/head
gregtillbrook [Fri, 28 Sep 2012 09:57:53 +0000 (10:57 +0100)] 
remove Date locally scoped varible from iife so mock can be inserted by unit tests etc

12 years agoMerge pull request #446 from julionc/spanish
Tim Wood [Mon, 24 Sep 2012 17:14:23 +0000 (10:14 -0700)] 
Merge pull request #446 from julionc/spanish

Updated Spanish translation

12 years agoUpdated Spanish translation 445/head 446/head
Julio Napurí [Sun, 23 Sep 2012 21:33:30 +0000 (16:33 -0500)] 
Updated Spanish translation

12 years agoFixed Settebre mispelling for Italian.
Rocky Meza [Sat, 22 Sep 2012 22:56:24 +0000 (16:56 -0600)] 
Fixed Settebre mispelling for Italian.

This fixes #437.  September is spelled Settembre in Italian, the m was
missing.

12 years agoMerge branch 'master' into hotfix/1.7.1
Tim Wood [Mon, 17 Sep 2012 18:48:50 +0000 (11:48 -0700)] 
Merge branch 'master' into hotfix/1.7.1

* master:
  Adding note about jsfiddle
  Adding contributing file as per https://github.com/blog/1184-contributing-guidelines
  Romanian (ro) translation with tests

12 years agoMerging master
Tim Wood [Mon, 17 Sep 2012 18:48:03 +0000 (11:48 -0700)] 
Merging master

12 years agoAdding note about jsfiddle
Tim Wood [Mon, 17 Sep 2012 18:35:10 +0000 (11:35 -0700)] 
Adding note about jsfiddle

12 years agoAdding contributing file as per https://github.com/blog/1184-contributing-guidelines
Tim Wood [Mon, 17 Sep 2012 17:52:28 +0000 (10:52 -0700)] 
Adding contributing file as per https://github.com/blog/1184-contributing-guidelines

12 years agoBetter checks for isValid in the parser #434 #409
Tim Wood [Wed, 12 Sep 2012 16:42:45 +0000 (09:42 -0700)] 
Better checks for isValid in the parser #434 #409

12 years agoFixing #427
Tim Wood [Wed, 5 Sep 2012 17:07:12 +0000 (10:07 -0700)] 
Fixing #427

12 years agoFailing tests for #427
Tim Wood [Wed, 5 Sep 2012 17:06:47 +0000 (10:06 -0700)] 
Failing tests for #427

12 years agoAdding specific tests from #430
Tim Wood [Wed, 5 Sep 2012 16:36:29 +0000 (09:36 -0700)] 
Adding specific tests from #430

12 years agowhitespace noise...
Tim Wood [Wed, 5 Sep 2012 16:32:36 +0000 (09:32 -0700)] 
whitespace noise...

12 years agoPassing tests for #430
Tim Wood [Wed, 5 Sep 2012 16:32:16 +0000 (09:32 -0700)] 
Passing tests for #430

12 years agoFailing tests for #430
Tim Wood [Wed, 5 Sep 2012 16:24:54 +0000 (09:24 -0700)] 
Failing tests for #430

12 years agoMerge branch 'hotfix/1.7.1' of github.com:timrwood/moment into hotfix/1.7.1
Tim Wood [Wed, 5 Sep 2012 16:12:12 +0000 (09:12 -0700)] 
Merge branch 'hotfix/1.7.1' of github.com:timrwood/moment into hotfix/1.7.1

* 'hotfix/1.7.1' of github.com:timrwood/moment:
  remove trailing comma from ru.js, fixes #424
  putting '} else {' on the same line
  Support for Chuvash suffix changes in future fromNow
  Estonian i18n

12 years agoRun tests with watch whenever a lang file is updated
Tim Wood [Sun, 2 Sep 2012 00:31:54 +0000 (17:31 -0700)] 
Run tests with watch whenever a lang file is updated

12 years agoAdding tests for #408
Tim Wood [Sun, 2 Sep 2012 00:31:34 +0000 (17:31 -0700)] 
Adding tests for #408

12 years agoMerge branch 'develop' of github.com:timrwood/moment into develop
Tim Wood [Sun, 2 Sep 2012 00:16:18 +0000 (17:16 -0700)] 
Merge branch 'develop' of github.com:timrwood/moment into develop

* 'develop' of github.com:timrwood/moment:
  add lang.meridiem trans and change to 24 hr time
  Added proper tests for moment(String, String) and moment.utc(String, String)

12 years agoremoving `new Function` re:#377
Tim Wood [Sun, 2 Sep 2012 00:15:59 +0000 (17:15 -0700)] 
removing `new Function` re:#377

12 years agoMerge pull request #420 from colindean/feature/esperanto-cleanup
Tim Wood [Sat, 1 Sep 2012 23:53:33 +0000 (16:53 -0700)] 
Merge pull request #420 from colindean/feature/esperanto-cleanup

add lang.meridiem trans and change to 24 hr time

12 years agoMerge pull request #419 from ichernev/timezone-detection-bug
Tim Wood [Sat, 1 Sep 2012 23:52:56 +0000 (16:52 -0700)] 
Merge pull request #419 from ichernev/timezone-detection-bug

timezone detection issue

12 years agoMerging `ichernev:is-same` and `timrwood:feature/grunt`
Tim Wood [Sat, 1 Sep 2012 23:51:43 +0000 (16:51 -0700)] 
Merging `ichernev:is-same` and `timrwood:feature/grunt`

12 years agoMerge pull request #425 from timrwood/feature/grunt
Tim Wood [Sat, 1 Sep 2012 23:45:03 +0000 (16:45 -0700)] 
Merge pull request #425 from timrwood/feature/grunt

Feature/grunt

12 years agoFixing JSHint on latvian lang 425/head
Tim Wood [Fri, 31 Aug 2012 17:24:59 +0000 (10:24 -0700)] 
Fixing JSHint on latvian lang

12 years agoMerge branch 'develop' into feature/grunt
Tim Wood [Fri, 31 Aug 2012 17:22:54 +0000 (10:22 -0700)] 
Merge branch 'develop' into feature/grunt

* develop:
  make ordinals return empty string
  Indonesian (id) translation with tests
  Latvian (lv) language configuration
  Esperanto translation / Esperanta traduko
  Relax year digits required.
  Add support for negative four-digit years.
  Add tests for C1 and support for six-digit years.

12 years agoargh, and adding nodeunit for `grunt zones`
Tim Wood [Fri, 31 Aug 2012 17:17:54 +0000 (10:17 -0700)] 
argh, and adding nodeunit for `grunt zones`

12 years agoAdd uglifyjs to the dependancies
Tim Wood [Fri, 31 Aug 2012 17:16:07 +0000 (10:16 -0700)] 
Add uglifyjs to the dependancies

12 years agorunning grunt release
Tim Wood [Fri, 31 Aug 2012 17:09:34 +0000 (10:09 -0700)] 
running grunt release

12 years agoSwitching to grunt
Tim Wood [Fri, 31 Aug 2012 17:08:56 +0000 (10:08 -0700)] 
Switching to grunt

12 years agoMake sure everything passes jshint
Tim Wood [Fri, 31 Aug 2012 17:05:08 +0000 (10:05 -0700)] 
Make sure everything passes jshint

12 years agoAdding some comments to explain why we can't use the default 'min' task
Tim Wood [Fri, 31 Aug 2012 16:47:37 +0000 (09:47 -0700)] 
Adding some comments to explain why we can't use the default 'min' task

12 years agoAdding minify + comments
Tim Wood [Fri, 31 Aug 2012 16:39:19 +0000 (09:39 -0700)] 
Adding minify + comments

12 years agoremove trailing comma from ru.js, fixes #424
Rocky Meza [Thu, 30 Aug 2012 15:08:38 +0000 (09:08 -0600)] 
remove trailing comma from ru.js, fixes #424

12 years agoWorking on minification grunt tasks
Tim Wood [Wed, 29 Aug 2012 01:48:00 +0000 (18:48 -0700)] 
Working on minification grunt tasks

12 years agoadd lang.meridiem trans and change to 24 hr time 420/head
Colin Dean [Tue, 28 Aug 2012 22:24:34 +0000 (18:24 -0400)] 
add lang.meridiem trans and change to 24 hr time

I read up a bit and confirmed my suspicion that the Esperantist
community primary uses 24-hour time.

Also fixed an errant English header pointed out by @wilkie.