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

12 years agoisSame should clone original moment to prevent change 417/head
Iskren Chernev [Tue, 28 Aug 2012 20:17:11 +0000 (23:17 +0300)] 
isSame should clone original moment to prevent change

12 years agoAdded proper tests for moment(String, String) and moment.utc(String, String) 419/head
Iskren Chernev [Tue, 28 Aug 2012 08:38:45 +0000 (11:38 +0300)] 
Added proper tests for moment(String, String) and moment.utc(String, String)

moment.utc tests fail because of a bug in timezone detection code.

12 years agoAdded moment.fn.isSame with tests
Iskren Chernev [Tue, 28 Aug 2012 08:04:48 +0000 (11:04 +0300)] 
Added moment.fn.isSame with tests

12 years agoMerge pull request #416 from tyok/feature/lang-id
Rocky Meza [Tue, 28 Aug 2012 03:34:39 +0000 (20:34 -0700)] 
Merge pull request #416 from tyok/feature/lang-id

Indonesian (id) translation with tests

12 years agomake ordinals return empty string 416/head
Mohammad Satrio [Tue, 28 Aug 2012 03:29:21 +0000 (10:29 +0700)] 
make ordinals return empty string

12 years agoMerge pull request #414 from colindean/feature/esperanto-translation
Rocky Meza [Tue, 28 Aug 2012 03:20:00 +0000 (20:20 -0700)] 
Merge pull request #414 from colindean/feature/esperanto-translation

Esperanto translation / Esperanta traduko

12 years agoMerge pull request #415 from skakri/develop
Rocky Meza [Tue, 28 Aug 2012 03:09:48 +0000 (20:09 -0700)] 
Merge pull request #415 from skakri/develop

Latvian (lv) language configuration

12 years agoIndonesian (id) translation with tests
Mohammad Satrio [Tue, 28 Aug 2012 02:45:40 +0000 (09:45 +0700)] 
Indonesian (id) translation with tests

12 years agoLatvian (lv) language configuration 415/head
Kristaps Karlsons [Tue, 28 Aug 2012 01:51:12 +0000 (04:51 +0300)] 
Latvian (lv) language configuration

12 years agoEsperanto translation / Esperanta traduko 414/head
Colin Dean [Mon, 27 Aug 2012 21:10:38 +0000 (17:10 -0400)] 
Esperanto translation / Esperanta traduko

13 years agoLogging errors at the end of everything
Tim Wood [Mon, 20 Aug 2012 22:08:21 +0000 (22:08 +0000)] 
Logging errors at the end of everything

13 years agoResetting timezone message
Tim Wood [Mon, 20 Aug 2012 21:42:29 +0000 (14:42 -0700)] 
Resetting timezone message

13 years agoNicer `grunt zones` output
Tim Wood [Mon, 20 Aug 2012 21:35:41 +0000 (14:35 -0700)] 
Nicer `grunt zones` output

13 years agoSwitching to grunt #406
Tim Wood [Mon, 20 Aug 2012 20:02:12 +0000 (13:02 -0700)] 
Switching to grunt #406

13 years agoRemoving `new Function` for #377
Tim Wood [Mon, 20 Aug 2012 18:43:05 +0000 (11:43 -0700)] 
Removing `new Function` for #377

13 years agoMerge pull request #373 from jasondavies/big-years
Tim Wood [Sun, 19 Aug 2012 22:12:41 +0000 (15:12 -0700)] 
Merge pull request #373 from jasondavies/big-years

Add support for years outside 0000-9999.

13 years agoMerge pull request #388 from avaly/master
Tim Wood [Tue, 7 Aug 2012 20:58:45 +0000 (13:58 -0700)] 
Merge pull request #388 from avaly/master

Proper Romanian (ro) translations

13 years agoRomanian (ro) translation with tests 388/head
Valentin Agachi [Tue, 7 Aug 2012 19:56:58 +0000 (21:56 +0200)] 
Romanian (ro) translation with tests

13 years agoMerge pull request #381 from madhenry/develop
Rocky Meza [Fri, 3 Aug 2012 03:43:35 +0000 (20:43 -0700)] 
Merge pull request #381 from madhenry/develop

Estonian i18n

13 years agoEstonian i18n 381/head
Henry Kehlmann [Thu, 2 Aug 2012 19:43:25 +0000 (22:43 +0300)] 
Estonian i18n

With complete test

13 years agoFixing en-ca and fr-ca
Tim Wood [Wed, 25 Jul 2012 19:20:05 +0000 (12:20 -0700)] 
Fixing en-ca and fr-ca

13 years agoBumping up version number for 1.7.0 1.7.0
Tim Wood [Wed, 25 Jul 2012 19:07:39 +0000 (12:07 -0700)] 
Bumping up version number for 1.7.0

13 years agoRelax year digits required. 373/head
Jason Davies [Wed, 25 Jul 2012 18:10:05 +0000 (19:10 +0100)] 
Relax year digits required.

This restores the ability to parse 1 Dec 1.

13 years agogit complaining about line endings or something...
Tim Wood [Wed, 25 Jul 2012 17:55:26 +0000 (10:55 -0700)] 
git complaining about line endings or something...

13 years agoAdd support for years outside 0000-9999.
Jason Davies [Wed, 25 Jul 2012 17:53:39 +0000 (18:53 +0100)] 
Add support for years outside 0000-9999.

13 years agoMerge pull request #372 from kraz/feature/support-for-bulgarian
Tim Wood [Wed, 25 Jul 2012 17:50:42 +0000 (10:50 -0700)] 
Merge pull request #372 from kraz/feature/support-for-bulgarian

Adding support for bulgarian localization

13 years agoTest messages were not accurate to the tests #364
Tim Wood [Wed, 25 Jul 2012 17:40:19 +0000 (10:40 -0700)] 
Test messages were not accurate to the tests #364

13 years agoParsing very early dates
Tim Wood [Wed, 25 Jul 2012 17:32:32 +0000 (10:32 -0700)] 
Parsing very early dates

#367

13 years agoMerge commit 'f38f021200d1237ff65d0be9671ea384b36f5a5c' into develop
Tim Wood [Wed, 25 Jul 2012 17:26:24 +0000 (10:26 -0700)] 
Merge commit 'f38f021200d1237ff65d0be9671ea384b36f5a5c' into develop

* commit 'f38f021200d1237ff65d0be9671ea384b36f5a5c':
  Fix parsing/formatting of first century dates.

13 years ago#371 don't add timezone to string + format in moment.utc if it already has a timezone
Tim Wood [Wed, 25 Jul 2012 17:12:53 +0000 (10:12 -0700)] 
#371 don't add timezone to string + format in moment.utc if it already has a timezone

13 years agoLanguage updates #293
Tim Wood [Wed, 25 Jul 2012 16:45:16 +0000 (09:45 -0700)] 
Language updates #293

13 years agoAdding support for bulgarian localization 372/head
kraz [Tue, 24 Jul 2012 19:16:49 +0000 (22:16 +0300)] 
Adding support for bulgarian localization

13 years agoAdd support for negative four-digit years. 367/head
Jason Davies [Thu, 19 Jul 2012 14:43:25 +0000 (15:43 +0100)] 
Add support for negative four-digit years.

13 years agoAdd tests for C1 and support for six-digit years.
Jason Davies [Thu, 19 Jul 2012 14:33:28 +0000 (15:33 +0100)] 
Add tests for C1 and support for six-digit years.

13 years agoFix parsing/formatting of first century dates.
Jason Davies [Wed, 18 Jul 2012 10:13:31 +0000 (11:13 +0100)] 
Fix parsing/formatting of first century dates.

According to ECMA-262, `new Date(y, …)` will auto-convert `y` to `1900 +
y` if `0 ≤ y ≤ 99`, hence setFullYear or setUTCFullYear is used instead.

This also zero-pads the year for the "YYYY" format, since the year may
not necessarily have four digits.

Lastly, the pt-br test is adjusted to test for the first day of the
month instead of the zeroth (which was causing it to fail).

13 years agoMerge pull request #358 from caio-ribeiro-pereira/develop
Tim Wood [Mon, 16 Jul 2012 16:11:26 +0000 (09:11 -0700)] 
Merge pull request #358 from caio-ribeiro-pereira/develop

Re-send Brazilian i18n

13 years agoMerge pull request #355 from jonbca/develop
Tim Wood [Mon, 16 Jul 2012 16:09:59 +0000 (09:09 -0700)] 
Merge pull request #355 from jonbca/develop

Add English and French Canadian i18n

13 years agoMerge pull request #343 from illicium/develop
Tim Wood [Mon, 16 Jul 2012 16:09:03 +0000 (09:09 -0700)] 
Merge pull request #343 from illicium/develop

Fix month/weekday grammatical cases in Russian

13 years agoFix commit conflits. 358/head
Caio Ribeiro Pereira [Wed, 11 Jul 2012 17:15:08 +0000 (14:15 -0300)] 
Fix commit conflits.

13 years agoMerge branch 'feature/lang-canada' into develop 355/head
Jonathan Abourbih [Tue, 10 Jul 2012 23:17:56 +0000 (00:17 +0100)] 
Merge branch 'feature/lang-canada' into develop

13 years agoUpdate test cases for en-ca and en-fr
Jonathan Abourbih [Tue, 10 Jul 2012 23:17:16 +0000 (00:17 +0100)] 
Update test cases for en-ca and en-fr

13 years agoCopying files for en-CA and fr-CA tests
Jonathan Abourbih [Tue, 10 Jul 2012 23:15:19 +0000 (00:15 +0100)] 
Copying files for en-CA and fr-CA tests

13 years agoAdd Canadian i18n
Jonathan Abourbih [Tue, 10 Jul 2012 23:14:11 +0000 (00:14 +0100)] 
Add Canadian i18n

Add English and French Canadian languages.

13 years agoCopy files for Canadian i18n
Jonathan Abourbih [Tue, 10 Jul 2012 23:13:08 +0000 (00:13 +0100)] 
Copy files for Canadian i18n

13 years agoIncluding pt-br lang. 353/head
Caio Ribeiro Pereira [Tue, 10 Jul 2012 20:15:18 +0000 (17:15 -0300)] 
Including pt-br lang.

13 years agoBackwards compatibility with changing moment.months and other lang properties
Tim Wood [Thu, 5 Jul 2012 17:46:31 +0000 (10:46 -0700)] 
Backwards compatibility with changing moment.months and other lang properties

#332 #334

13 years agoMerge pull request #342 from p-baleine/develop
Tim Wood [Thu, 5 Jul 2012 16:44:24 +0000 (09:44 -0700)] 
Merge pull request #342 from p-baleine/develop

Establish the root object, `window` in the browser, or `global` on the server.

13 years agoMerge pull request #347 from DukeLeNoir/fix-it-translation
Tim Wood [Thu, 5 Jul 2012 16:34:08 +0000 (09:34 -0700)] 
Merge pull request #347 from DukeLeNoir/fix-it-translation

Grammar fixes in the Italian translation

13 years agoMerge pull request #346 from cgbeekman/b74a212203c2ba94b26163ff4942a9885e322fd7
Tim Wood [Thu, 5 Jul 2012 16:31:35 +0000 (09:31 -0700)] 
Merge pull request #346 from cgbeekman/b74a212203c2ba94b26163ff4942a9885e322fd7

Month abbreviation improvements for language nl

13 years agoMerge pull request #340 from BYK/feature/lang/tr-ordinal
Tim Wood [Mon, 2 Jul 2012 21:27:01 +0000 (14:27 -0700)] 
Merge pull request #340 from BYK/feature/lang/tr-ordinal

Fixed ordinal strings for TR language

13 years agofor Closure Compiler "advanced" mode, add `moment` as a global object via a string... 342/head
Tajima Junpei [Mon, 25 Jun 2012 02:32:56 +0000 (11:32 +0900)] 
for Closure Compiler "advanced" mode, add `moment` as a global object via a string identifier

13 years agotest/lang/ru: add format week case test 343/head
Yegor Pomortsev [Sat, 23 Jun 2012 07:16:36 +0000 (00:16 -0700)] 
test/lang/ru: add format week case test

13 years agoregarding global, remove unnecessary assignment
Tajima Junpei [Fri, 22 Jun 2012 00:09:19 +0000 (09:09 +0900)] 
regarding global, remove unnecessary assignment

13 years agogrammar correction on italian translation 347/head
Luca Ongaro [Thu, 21 Jun 2012 13:10:30 +0000 (15:10 +0200)] 
grammar correction on italian translation

13 years agoExclude dot from Dutch month abbreviations when surrounded by dashes. 346/head
Niels Beekman [Wed, 20 Jun 2012 21:42:03 +0000 (23:42 +0200)] 
Exclude dot from Dutch month abbreviations when surrounded by dashes.

13 years agoMerge branch 'develop' of https://github.com/cgbeekman/moment into develop
Niels Beekman [Wed, 20 Jun 2012 20:59:00 +0000 (22:59 +0200)] 
Merge branch 'develop' of https://github.com/cgbeekman/moment into develop

13 years agoSynced nl month abbreviations with CLDR
Niels Beekman [Wed, 20 Jun 2012 20:48:36 +0000 (22:48 +0200)] 
Synced nl month abbreviations with CLDR

13 years agoSynced nl month abbreviations with CLDR
Niels Beekman [Wed, 20 Jun 2012 20:48:36 +0000 (22:48 +0200)] 
Synced nl month abbreviations with CLDR

13 years agolang/ru: L format should be separated by dots, not dashes
Yegor Pomortsev [Wed, 20 Jun 2012 20:26:45 +0000 (13:26 -0700)] 
lang/ru: L format should be separated by dots, not dashes

13 years agolang/ru: add contracted year "marker" in LL/LLL/LLLL formats
Yegor Pomortsev [Wed, 20 Jun 2012 20:25:02 +0000 (13:25 -0700)] 
lang/ru: add contracted year "marker" in LL/LLL/LLLL formats

13 years agolang/ru: use more common contraction for Saturday in weekdaysShort
Yegor Pomortsev [Wed, 20 Jun 2012 20:16:50 +0000 (13:16 -0700)] 
lang/ru: use more common contraction for Saturday in weekdaysShort

13 years agolang/ru: weekdays case regex should be case sensitive
Yegor Pomortsev [Wed, 20 Jun 2012 20:05:57 +0000 (13:05 -0700)] 
lang/ru: weekdays case regex should be case sensitive

13 years agolang/ru: fix months/weekdays noun case
Yegor Pomortsev [Wed, 20 Jun 2012 06:41:49 +0000 (23:41 -0700)] 
lang/ru: fix months/weekdays noun case

13 years agoInstead of using `window` object directly, establish the root object which will be...
Tajima Junpei [Wed, 20 Jun 2012 04:15:35 +0000 (13:15 +0900)] 
Instead of using `window` object directly, establish the root object which will be `window` in the browser or `global` on the server.

13 years agoFixed invalid ordinal function for lang=tr and added more tests to cover edge cases... 340/head
Burak Yigit Kaya [Sun, 17 Jun 2012 10:58:37 +0000 (13:58 +0300)] 
Fixed invalid ordinal function for lang=tr and added more tests to cover edge cases of this new feature.

13 years agoWhitespace OCD and adding hasownproperty to tests
Tim Wood [Thu, 14 Jun 2012 16:54:36 +0000 (09:54 -0700)] 
Whitespace OCD and adding hasownproperty to tests

#399

13 years agoMerge pull request #339 from deleteme/feature/mutable-manipulation
Tim Wood [Thu, 14 Jun 2012 16:00:56 +0000 (09:00 -0700)] 
Merge pull request #339 from deleteme/feature/mutable-manipulation

Feature/mutable manipulation

13 years agoMerge pull request #338 from mcs/develop
Tim Wood [Thu, 14 Jun 2012 15:58:41 +0000 (08:58 -0700)] 
Merge pull request #338 from mcs/develop

3rd try: Fix for test description ...

13 years agostartOf and endOf are now mutable. #335 339/head
Matt Garrett [Thu, 14 Jun 2012 14:02:49 +0000 (09:02 -0500)] 
startOf and endOf are now mutable. #335

Adds new tests to assert the policy
that manipulation methods are mutable.

13 years agoFixed test description for diff test "1 - 0.5" 337/head 338/head
Marcus Krassmann [Thu, 14 Jun 2012 14:00:13 +0000 (16:00 +0200)] 
Fixed test description for diff test "1 - 0.5"

13 years agoAdding in month and weekday callback functions and tests.
Tim Wood [Tue, 12 Jun 2012 18:22:23 +0000 (11:22 -0700)] 
Adding in month and weekday callback functions and tests.

#313 #325 #312

13 years agoMore explicit NodeJS check to fix #314
Tim Wood [Tue, 12 Jun 2012 17:27:18 +0000 (10:27 -0700)] 
More explicit NodeJS check to fix #314

13 years agoTrimming some bytes for #332
Tim Wood [Tue, 12 Jun 2012 17:24:40 +0000 (10:24 -0700)] 
Trimming some bytes for #332

13 years agoMerge pull request #332 from timrwood/feature/instance-lang
Tim Wood [Tue, 12 Jun 2012 17:07:59 +0000 (10:07 -0700)] 
Merge pull request #332 from timrwood/feature/instance-lang

Feature/instance lang

13 years agoUpdating package.json values
Tim Wood [Mon, 11 Jun 2012 23:17:15 +0000 (16:17 -0700)] 
Updating package.json values