]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
10 years agoBuild 2.10.6 2208/head 2465/head 2.10.6
Iskren Chernev [Tue, 28 Jul 2015 04:39:50 +0000 (21:39 -0700)] 
Build 2.10.6

10 years agoBump version to 2.10.6
Iskren Chernev [Tue, 28 Jul 2015 04:36:31 +0000 (21:36 -0700)] 
Bump version to 2.10.6

10 years agoUpdate changelog for 2.10.6
Iskren Chernev [Tue, 28 Jul 2015 04:36:12 +0000 (21:36 -0700)] 
Update changelog for 2.10.6

10 years agoMerge pull request #2515 from ichernev/fix-constructor
Iskren Ivov Chernev [Tue, 28 Jul 2015 04:30:43 +0000 (21:30 -0700)] 
Merge pull request #2515 from ichernev/fix-constructor

Fix constructor regression

10 years agoFix regression outlined in #2512 2515/head
Iskren Chernev [Mon, 27 Jul 2015 16:39:57 +0000 (09:39 -0700)] 
Fix regression outlined in #2512

10 years agoAdd sudo: false to .travis.yml 2.10.5
Iskren Chernev [Sun, 26 Jul 2015 09:25:49 +0000 (02:25 -0700)] 
Add sudo: false to .travis.yml

10 years agoBuild 2.10.5
Iskren Chernev [Sun, 26 Jul 2015 09:15:25 +0000 (02:15 -0700)] 
Build 2.10.5

10 years agoBump version to 2.10.5
Iskren Chernev [Sun, 26 Jul 2015 09:13:19 +0000 (02:13 -0700)] 
Bump version to 2.10.5

10 years agoUpdate changelog for 2.10.5
Iskren Chernev [Sun, 26 Jul 2015 09:12:34 +0000 (02:12 -0700)] 
Update changelog for 2.10.5

10 years agoImplement suggested improvements
Iskren Chernev [Sun, 26 Jul 2015 03:47:30 +0000 (20:47 -0700)] 
Implement suggested improvements

10 years agoSupport up to milliseconds tokens up to 9 digits, fixes #2436
Iskren Chernev [Sun, 5 Jul 2015 15:28:40 +0000 (00:28 +0900)] 
Support up to milliseconds tokens up to 9 digits, fixes #2436

10 years agoMerge pull request #2461 from ichernev:duration-bubble
Iskren Chernev [Sun, 26 Jul 2015 04:51:26 +0000 (21:51 -0700)] 
Merge pull request #2461 from ichernev:duration-bubble

Improved duration bubbling, fixes #2166

10 years agoUse ratios to convert bubble days to months and years
Iskren Chernev [Thu, 9 Jul 2015 08:21:59 +0000 (01:21 -0700)] 
Use ratios to convert bubble days to months and years

10 years agoImproved duration bubbling, fixes #2166
Iskren Chernev [Wed, 8 Jul 2015 13:25:40 +0000 (21:25 +0800)] 
Improved duration bubbling, fixes #2166

10 years agoMerge pull request #2476 from ichernev:fix-is-dst-shifted
Iskren Chernev [Sun, 26 Jul 2015 04:49:41 +0000 (21:49 -0700)] 
Merge pull request #2476 from ichernev:fix-is-dst-shifted

Fix isDSTShifted, fixes #2141

10 years agoFix isDSTShifted, fixes #2141
Iskren Chernev [Sun, 12 Jul 2015 23:09:19 +0000 (16:09 -0700)] 
Fix isDSTShifted, fixes #2141

10 years agoMerge pull request #2494 from stewartml:yyyy-fix
Iskren Chernev [Sun, 26 Jul 2015 04:48:36 +0000 (21:48 -0700)] 
Merge pull request #2494 from stewartml:yyyy-fix

Fix two digit year parsing with YYYY format

10 years agoFix two digit year parsing with YYYY format
Stewart MacKenzie-Leigh [Mon, 20 Jul 2015 13:47:03 +0000 (14:47 +0100)] 
Fix two digit year parsing with YYYY format

Two digit years will use the parseTwoDigitYear function when parsing with the YYYY format.
Closes #2343

10 years agoMerge pull request #2506 from ichernev:to-object
Iskren Chernev [Sun, 26 Jul 2015 04:31:56 +0000 (21:31 -0700)] 
Merge pull request #2506 from ichernev:to-object

Redo #2123 in es6

10 years agoRedo #2123 in es6
Iskren Chernev [Sun, 26 Jul 2015 03:00:04 +0000 (20:00 -0700)] 
Redo #2123 in es6

10 years agoMerge pull request #2507 from ichernev:redo-2191
Iskren Chernev [Sun, 26 Jul 2015 04:29:22 +0000 (21:29 -0700)] 
Merge pull request #2507 from ichernev:redo-2191

Redo 2191 in es6

10 years agoRedo 2191 in es6
Iskren Chernev [Sun, 26 Jul 2015 03:06:45 +0000 (20:06 -0700)] 
Redo 2191 in es6

10 years agoMerge pull request #2508 from ichernev:redo-2124
Iskren Chernev [Sun, 26 Jul 2015 04:27:15 +0000 (21:27 -0700)] 
Merge pull request #2508 from ichernev:redo-2124

Redo #2124

10 years agoRedo #2124
Iskren Chernev [Sun, 26 Jul 2015 03:35:38 +0000 (20:35 -0700)] 
Redo #2124

10 years agoMerge pull request #2420 from ignasne:develop
Iskren Chernev [Sun, 26 Jul 2015 04:25:36 +0000 (21:25 -0700)] 
Merge pull request #2420 from ignasne:develop

nominative month translation added to lt.js language

10 years agoFix tests
Iskren Chernev [Sun, 26 Jul 2015 04:25:12 +0000 (21:25 -0700)] 
Fix tests

10 years agonominative month translation added to lt.js language
Ignas Nedzinskas [Tue, 16 Jun 2015 14:19:27 +0000 (17:19 +0300)] 
nominative month translation added to lt.js language

10 years agoDisable coveralls.io reporting for now
Iskren Chernev [Wed, 22 Jul 2015 17:17:38 +0000 (10:17 -0700)] 
Disable coveralls.io reporting for now

10 years agoIgnore more coverage stuff
Iskren Chernev [Wed, 22 Jul 2015 17:04:04 +0000 (10:04 -0700)] 
Ignore more coverage stuff

10 years agoMerge pull request #2387 from bcoe:coverage
Iskren Chernev [Wed, 22 Jul 2015 16:47:35 +0000 (09:47 -0700)] 
Merge pull request #2387 from bcoe:coverage

add coverage reporting using nyc and coveralls

10 years agoadd coverage reporting using nyc and coveralls
Benjamin Coe [Mon, 25 May 2015 20:25:15 +0000 (13:25 -0700)] 
add coverage reporting using nyc and coveralls

10 years agoMerge pull request #2489 from Xaar37:develop
Iskren Chernev [Wed, 22 Jul 2015 16:26:33 +0000 (09:26 -0700)] 
Merge pull request #2489 from Xaar37:develop

Update deprecate.js

10 years agoUpdate deprecate.js 2489/head
Xaar37 [Thu, 16 Jul 2015 06:50:31 +0000 (08:50 +0200)] 
Update deprecate.js

10 years agoMerge pull request #2473 from mj1856:fix-2023.1
Iskren Chernev [Mon, 13 Jul 2015 00:47:21 +0000 (17:47 -0700)] 
Merge pull request #2473 from mj1856:fix-2023.1

Expect 0 assertions to fix #2382

10 years agoExpect 0 assertions to fix #2382
Matt Johnson [Sun, 12 Jul 2015 05:39:51 +0000 (22:39 -0700)] 
Expect 0 assertions to fix #2382

10 years agoMerge pull request #2467 from mj1856:fix-2337.6
Iskren Chernev [Mon, 13 Jul 2015 00:44:30 +0000 (17:44 -0700)] 
Merge pull request #2467 from mj1856:fix-2337.6

Fix test for fractional-hour offsets, fixes #2389

10 years agoFix test for fractional-hour offsets
Matt Johnson [Thu, 9 Jul 2015 18:14:05 +0000 (11:14 -0700)] 
Fix test for fractional-hour offsets

10 years agoMerge pull request #2460 from ichernev:support-partial-test
Iskren Chernev [Mon, 13 Jul 2015 00:42:10 +0000 (17:42 -0700)] 
Merge pull request #2460 from ichernev:support-partial-test

Support grunt test --only=moment/duration,locale/ru

10 years agoMake jscs happy
Iskren Chernev [Sun, 12 Jul 2015 22:07:08 +0000 (15:07 -0700)] 
Make jscs happy

10 years agoSupport grunt test --only=moment/duration,locale/ru
Iskren Chernev [Wed, 8 Jul 2015 13:24:15 +0000 (21:24 +0800)] 
Support grunt test --only=moment/duration,locale/ru

10 years agoMerge pull request #2459 from ichernev:fix-add-regex-token
Iskren Chernev [Mon, 13 Jul 2015 00:40:49 +0000 (17:40 -0700)] 
Merge pull request #2459 from ichernev:fix-add-regex-token

Fix function check to workaround old browsers, fixes #2325

10 years agoFix function check to workaround old browsers, fixes #2325
Iskren Chernev [Wed, 8 Jul 2015 11:20:53 +0000 (19:20 +0800)] 
Fix function check to workaround old browsers, fixes #2325

10 years agoMerge pull request #2456 from ichernev:fix-str-weekday-parse-check
Iskren Chernev [Mon, 13 Jul 2015 00:38:32 +0000 (17:38 -0700)] 
Merge pull request #2456 from ichernev:fix-str-weekday-parse-check

Mark moment as invalid if bad string weekday repr is parsed, fixes #2423

10 years agoMark moment as invalid if bad string weekday repr is parsed, fixes #2423
Iskren Chernev [Wed, 8 Jul 2015 10:07:52 +0000 (18:07 +0800)] 
Mark moment as invalid if bad string weekday repr is parsed, fixes #2423

10 years agoMerge pull request #2439 from raleksandar:develop
Iskren Chernev [Mon, 13 Jul 2015 00:34:57 +0000 (17:34 -0700)] 
Merge pull request #2439 from raleksandar:develop

Fix imports in locale files

10 years agoFix imports in locale files
Aleksandar Ružičić [Sat, 27 Jun 2015 14:58:46 +0000 (16:58 +0200)] 
Fix imports in locale files

10 years agoMerge pull request #2438 from cwohlman:fixInvalidMin
Iskren Chernev [Mon, 13 Jul 2015 00:32:58 +0000 (17:32 -0700)] 
Merge pull request #2438 from cwohlman:fixInvalidMin

Fix inconsistent moment.min and moment.max results

10 years agoAdd test to ensure invalid moments isSame returns false
Joshua Ohlman [Sat, 4 Jul 2015 13:08:46 +0000 (08:08 -0500)] 
Add test to ensure invalid moments isSame returns false

10 years agoRevert "valueOf should return NaN for any invalid moment"
Joshua Ohlman [Sat, 4 Jul 2015 13:05:03 +0000 (08:05 -0500)] 
Revert "valueOf should return NaN for any invalid moment"

This reverts commit c314f03a9b7153fcab55942878a9899ad74ce73e.

10 years agovalueOf should return NaN for any invalid moment
Joshua Ohlman [Mon, 29 Jun 2015 20:44:02 +0000 (15:44 -0500)] 
valueOf should return NaN for any invalid moment

this fixes an issue where isSame would return true for two invalid moments, which is inconsistent with NaN === NaN and also inconsistent with other cases where isSame would return false for two invalid moments. (some invalid moments are backed by a valid date)

Fixes #2354

10 years agoAdd tests and fix for inconsistent moment.min and moment.max behavior.
Joshua Ohlman [Fri, 26 Jun 2015 23:44:49 +0000 (18:44 -0500)] 
Add tests and fix for inconsistent moment.min and moment.max behavior.

Fixes #2362

10 years agoEnsure moment.isAfter and moment.isBefore match js math operations
Joshua Ohlman [Fri, 26 Jun 2015 23:36:52 +0000 (18:36 -0500)] 
Ensure moment.isAfter and moment.isBefore match js math operations

Add tests to isBefore and isAfter preparatory to fixing #2362, since moment.min and moment.max rely on isBefore and isAfter to calculate moment value

10 years agoMerge pull request #2434 from Leocrest:fix/hu
Iskren Chernev [Mon, 13 Jul 2015 00:30:40 +0000 (17:30 -0700)] 
Merge pull request #2434 from Leocrest:fix/hu

fix(hu):Improve long date time formats for hungarian.

10 years agofix(hu):Improve long date time formats for hungarian.
Brett Johnson [Mon, 22 Jun 2015 17:14:13 +0000 (11:14 -0600)] 
fix(hu):Improve long date time formats for hungarian.

10 years agoMerge pull request #2421 from aniruddha-adhikary:develop
Iskren Chernev [Mon, 13 Jul 2015 00:27:15 +0000 (17:27 -0700)] 
Merge pull request #2421 from aniruddha-adhikary:develop

fix bengali translation of morning

10 years agoRevert autogenerated file changes
Iskren Chernev [Mon, 13 Jul 2015 00:27:04 +0000 (17:27 -0700)] 
Revert autogenerated file changes

10 years agofix bengali translation of morning
Aniruddha Adhikary [Wed, 17 Jun 2015 03:35:31 +0000 (09:35 +0600)] 
fix bengali translation of morning

10 years agoMerge pull request #2414 from motain:ordinal-fr
Iskren Chernev [Mon, 13 Jul 2015 00:22:21 +0000 (17:22 -0700)] 
Merge pull request #2414 from motain:ordinal-fr

Locales fr & fr-ca: set an abbreviation for ordinal numbers >1

10 years agoRevert fr locale changes, suggested by https://github.com/moment/moment/pull/2414...
Iskren Chernev [Mon, 13 Jul 2015 00:21:44 +0000 (17:21 -0700)] 
Revert fr locale changes, suggested by https://github.com/moment/moment/pull/2414#issuecomment-118649162

10 years agoSet an abbreviation for ordinal numbers >1
Maxime VALY [Thu, 11 Jun 2015 09:14:28 +0000 (11:14 +0200)] 
Set an abbreviation for ordinal numbers >1

I went for the simpler "deuxième, troisième" form instead of "second,
troisième". All numbers after 1 share the same abbreviation.

My first idea was to go for "ème", but looking for a source to back my
PR I found that the "correct" way is "e", at least according to printing
rules: https://fr.wiktionary.org/wiki/2%C3%A8me

The French Academy doesn't seem to have any article concerning the
abbreviation, only the "second / deuxième" usage:
http://www.xn--acadmie-franaise-npb1a.fr/la-langue-francaise/questions-de-langue#29_strong-em-deuxime-second-em-strong

10 years agoMerge pull request #2404 from philjohnson789:develop
Iskren Chernev [Mon, 13 Jul 2015 00:14:29 +0000 (17:14 -0700)] 
Merge pull request #2404 from philjohnson789:develop

Fix Strict Date Parsing of ISO-8601 Dates Without Times

10 years agoChanging a unit test case that is incorrectly labelled as valid.
Phil Johnson [Thu, 4 Jun 2015 21:11:07 +0000 (17:11 -0400)] 
Changing a unit test case that is incorrectly labelled as valid.

10 years agoFixing ISO-8601 date parsing when no time component is present.
Phil Johnson [Thu, 4 Jun 2015 20:48:51 +0000 (16:48 -0400)] 
Fixing ISO-8601 date parsing when no time component is present.

10 years agoAdding unit tests to verify strict date parsing of ISO-8601 dates.
Phil Johnson [Thu, 4 Jun 2015 19:56:01 +0000 (15:56 -0400)] 
Adding unit tests to verify strict date parsing of ISO-8601 dates.

10 years agoMerge pull request #2368 from wyantb:clone-perf
Iskren Chernev [Mon, 13 Jul 2015 00:00:30 +0000 (17:00 -0700)] 
Merge pull request #2368 from wyantb:clone-perf

perf: use faster form of copying dates, across the board improvement

10 years agoperf: add duration benchmark, cleanup benchmarking output
Brian Wyant [Sun, 10 May 2015 02:06:10 +0000 (22:06 -0400)] 
perf: add duration benchmark, cleanup benchmarking output

10 years agoperf: use faster form of copying dates, across the board improvement
Brian Wyant [Sat, 9 May 2015 17:40:32 +0000 (13:40 -0400)] 
perf: use faster form of copying dates, across the board improvement

Reference: http://jsperf.com/date-copy-constructor/3

10 years agoMerge pull request #2477 from ichernev:add-ms-locale
Iskren Chernev [Sun, 12 Jul 2015 23:58:54 +0000 (16:58 -0700)] 
Merge pull request #2477 from ichernev:add-ms-locale

Add ms locale (copy ms-my)

10 years agoCopy ms-my to ms locale, redo #2347
Iskren Chernev [Sun, 12 Jul 2015 23:53:44 +0000 (16:53 -0700)] 
Copy ms-my to ms locale, redo #2347

10 years agoMerge pull request #2357 from NobodysNightmare:feature/iso_date_bubbling
Iskren Chernev [Sun, 12 Jul 2015 23:57:20 +0000 (16:57 -0700)] 
Merge pull request #2357 from NobodysNightmare:feature/iso_date_bubbling

Improve unit bubbling for ISO dates

10 years agoadd tests for ISO bubbling
Jan Sandbrink [Mon, 4 May 2015 13:00:24 +0000 (15:00 +0200)] 
add tests for ISO bubbling

10 years agoprevent bubbling of minor units for ISO dates
Jan Sandbrink [Mon, 4 May 2015 12:55:46 +0000 (14:55 +0200)] 
prevent bubbling of minor units for ISO dates

ISO 8601 makes a difference between e.g. 24 hours and 1 day:

* both are the same most of the time
* in case there is a clock change (e.g. DST) however, "P1D" means "next day, same time" and "PT24H" means: now in 24 hours (which can be off by one hour in either direction in case of DST)

days and months are also a complicated matter...

10 years agoRevert "Merge pull request #2347 from wajatimur:develop"
Iskren Chernev [Sun, 12 Jul 2015 23:50:56 +0000 (16:50 -0700)] 
Revert "Merge pull request #2347 from wajatimur:develop"

I'll redo this change myself.

This reverts commit 779eab554d6af2186496a8743729da3cf85196a3, reversing
changes made to 0137bc1049b01fcf8f7a2f91db2f5c1f65577e54.

10 years agoMerge pull request #2347 from wajatimur:develop
Iskren Chernev [Sun, 12 Jul 2015 23:43:51 +0000 (16:43 -0700)] 
Merge pull request #2347 from wajatimur:develop

Change Malay language code to comply IOS639-2

10 years agoChange locale files ms-my to ms in src/locale and test
Azri Jamil [Sun, 5 Jul 2015 06:10:09 +0000 (14:10 +0800)] 
Change locale files ms-my to ms in src/locale and test

10 years agoChange Malay language code to comply IOS639-2
Azri Jamil [Mon, 27 Apr 2015 02:33:11 +0000 (10:33 +0800)] 
Change Malay language code to comply IOS639-2

10 years agoMerge pull request #2336 from gregor-rayman:year_week_fix
Iskren Chernev [Sun, 12 Jul 2015 23:39:10 +0000 (16:39 -0700)] 
Merge pull request #2336 from gregor-rayman:year_week_fix

Fixes year/week parsing for non-standard dow/doy combinations

10 years agoFixes year/week parsing for non-standard dow/doy combinations
Gregor Rayman [Sat, 18 Apr 2015 13:01:01 +0000 (15:01 +0200)] 
Fixes year/week parsing for non-standard dow/doy combinations

10 years agoMerge pull request #2127 from Gobie:patch/cleanup
Iskren Chernev [Sun, 12 Jul 2015 23:37:27 +0000 (16:37 -0700)] 
Merge pull request #2127 from Gobie:patch/cleanup

Code cleanup and speedup

10 years agoClean the structure of conditons in parseWeekday
Michal Brašna [Wed, 13 May 2015 16:13:45 +0000 (18:13 +0200)] 
Clean the structure of conditons in parseWeekday

10 years agoUse existing absFloor function
Michal Brašna [Wed, 13 May 2015 16:00:41 +0000 (18:00 +0200)] 
Use existing absFloor function

10 years agoOptimize speed of zeroFill and add benchmarks
Michal Brašna [Wed, 13 May 2015 15:42:58 +0000 (17:42 +0200)] 
Optimize speed of zeroFill and add benchmarks

10 years agoClean up the code a bit
Michal Brašna [Wed, 13 May 2015 15:29:35 +0000 (17:29 +0200)] 
Clean up the code a bit

10 years agoMerge pull request #2371 from cvrebert/patch-1
Matt Johnson [Thu, 25 Jun 2015 04:41:41 +0000 (21:41 -0700)] 
Merge pull request #2371 from cvrebert/patch-1

bower.json: remove moot `version` field

10 years agobower.json: remove moot `version` field 2371/head
Chris Rebert [Wed, 13 May 2015 03:25:24 +0000 (20:25 -0700)] 
bower.json: remove moot `version` field

Per https://github.com/bower/bower.json-spec/commit/a325da3d79baab018c572d75dc1781b12322f6cd

10 years agoMerge pull request #2393 from pioneerlike/develop
Matt Johnson [Tue, 23 Jun 2015 00:53:55 +0000 (17:53 -0700)] 
Merge pull request #2393 from pioneerlike/develop

Fix building tasks for `moment-with-locales.js` and `moment-with-locales.custom.js`

10 years agoMerge pull request #2424 from joefreeman/develop
Matt Johnson [Tue, 23 Jun 2015 00:51:18 +0000 (17:51 -0700)] 
Merge pull request #2424 from joefreeman/develop

Allow custom formats to be passed to calendar function.

10 years agoMerge pull request #2377 from nasitra/develop
Matt Johnson [Fri, 19 Jun 2015 06:06:01 +0000 (23:06 -0700)] 
Merge pull request #2377 from nasitra/develop

Remove unreachable code

10 years agoMerge pull request #2419 from jisaacks/local-format-fix
Matt Johnson [Fri, 19 Jun 2015 05:58:28 +0000 (22:58 -0700)] 
Merge pull request #2419 from jisaacks/local-format-fix

Ensure all longDateFormats are fully expanded

10 years agoAllow custom formats to be passed to calendar function. 2424/head
Joe Freeman [Wed, 17 Jun 2015 11:19:11 +0000 (12:19 +0100)] 
Allow custom formats to be passed to calendar function.

10 years agoFix for style guide 2419/head
JD Isaacks [Mon, 15 Jun 2015 16:22:48 +0000 (12:22 -0400)] 
Fix for style guide

10 years agoAdd semicolon to make jshint happy
JD Isaacks [Mon, 15 Jun 2015 16:09:42 +0000 (12:09 -0400)] 
Add semicolon to make jshint happy

10 years agoEnsure all longDateFormats are fully expanded
JD Isaacks [Mon, 15 Jun 2015 15:25:47 +0000 (11:25 -0400)] 
Ensure all longDateFormats are fully expanded

fixes #2163

10 years agoMerge pull request #2288 from seferov/develop
Matt Johnson [Mon, 8 Jun 2015 22:03:24 +0000 (15:03 -0700)] 
Merge pull request #2288 from seferov/develop

fixed typos

10 years agoMerge pull request #2380 from pgilad/patch-1
Matt Johnson [Wed, 3 Jun 2015 19:28:52 +0000 (12:28 -0700)] 
Merge pull request #2380 from pgilad/patch-1

update license attribute

10 years agoFixes for generateMomentWithLocales 2393/head
Dennis [Thu, 28 May 2015 21:48:01 +0000 (14:48 -0700)] 
Fixes for generateMomentWithLocales

10 years agoupdate license attribute 2380/head
Gilad Peleg [Tue, 19 May 2015 11:01:28 +0000 (14:01 +0300)] 
update license attribute

https://docs.npmjs.com/files/package.json#license
http://npm1k.org/

10 years agoRemove unreachable code 2377/head
nasitra [Sat, 16 May 2015 00:57:26 +0000 (09:57 +0900)] 
Remove unreachable code

10 years agoBuild 2.10.3 2.10.3
Iskren Chernev [Wed, 13 May 2015 07:42:12 +0000 (00:42 -0700)] 
Build 2.10.3

10 years agoBump version to 2.10.3
Iskren Chernev [Wed, 13 May 2015 07:40:43 +0000 (00:40 -0700)] 
Bump version to 2.10.3