]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
9 years agoAdded inclusivity param to isBetween Method
David Kirk [Fri, 4 Mar 2016 06:29:39 +0000 (01:29 -0500)] 
Added inclusivity param to isBetween Method

9 years agoMerge pull request #3059 from maggiepint:diffNegZero
Iskren Chernev [Sat, 16 Apr 2016 06:51:51 +0000 (23:51 -0700)] 
Merge pull request #3059 from maggiepint:diffNegZero

fix bug where diff returns -0 in month-related diffs

9 years agofix bug where diff returns -0 in month-related diffs
maggie@tempworks.com [Tue, 22 Mar 2016 04:07:15 +0000 (23:07 -0500)] 
fix bug where diff returns -0 in month-related diffs

9 years agoMerge pull request #3036 from mj1856:set-across-dst
Iskren Chernev [Sat, 16 Apr 2016 06:50:43 +0000 (23:50 -0700)] 
Merge pull request #3036 from mj1856:set-across-dst

Year setter should keep time when DST changes

9 years agoSetting year should keep time when offset changes
Matt Johnson [Sat, 12 Mar 2016 20:09:17 +0000 (13:09 -0700)] 
Setting year should keep time when offset changes

9 years agoMerge pull request #3060 from andrewhood125:ps
Iskren Chernev [Sat, 16 Apr 2016 06:48:04 +0000 (23:48 -0700)] 
Merge pull request #3060 from andrewhood125:ps

Add pseudo locale (x-pseudo)

9 years agoFix x-pseudo test issues
Iskren Chernev [Sat, 16 Apr 2016 06:47:47 +0000 (23:47 -0700)] 
Fix x-pseudo test issues

9 years agoAdd pseduo locale (x-pseudo)
Andrew Hood [Tue, 22 Mar 2016 20:08:31 +0000 (13:08 -0700)] 
Add pseduo locale (x-pseudo)

9 years agoAdd custom month regexes for Russian (fixes #2977)
Iskren Chernev [Sat, 16 Apr 2016 06:30:50 +0000 (23:30 -0700)] 
Add custom month regexes for Russian (fixes #2977)

9 years agoMerge pull request #2977 from socketpair:rufix3
Iskren Chernev [Sat, 16 Apr 2016 05:59:35 +0000 (22:59 -0700)] 
Merge pull request #2977 from socketpair:rufix3

Russian locale: months abbreviation

9 years agoRussian locale: Сокращения названий месяцев
Коренберг Марк (imac) [Mon, 22 Feb 2016 08:55:31 +0000 (13:55 +0500)] 
Russian locale: Сокращения названий месяцев

9 years agoMerge pull request #3102 from not-an-aardvark:kk-format-token
Iskren Chernev [Sat, 16 Apr 2016 05:57:53 +0000 (22:57 -0700)] 
Merge pull request #3102 from not-an-aardvark:kk-format-token

Add k and kk formatting tokens

9 years agoAdd k and kk formatting tokens
not-an-aardvark [Fri, 8 Apr 2016 06:10:48 +0000 (02:10 -0400)] 
Add k and kk formatting tokens

Fixes #2762

9 years agoMerge pull request #3093 from moment:timrwood/remove-old-tasks
Iskren Chernev [Sat, 16 Apr 2016 05:56:37 +0000 (22:56 -0700)] 
Merge pull request #3093 from moment:timrwood/remove-old-tasks

Remove old unused grunt tasks

9 years agoRemove old unused grunt tasks
Tim Wood [Tue, 5 Apr 2016 15:44:27 +0000 (10:44 -0500)] 
Remove old unused grunt tasks

This removes the following grunt tasks.

```
grunt size
grunt history
grunt embedLocales
grunt zones
```

These are all out of date and no longer used.

9 years agoMerge pull request #2877 from topaxi:explict-valueof
Iskren Chernev [Sat, 16 Apr 2016 05:54:40 +0000 (22:54 -0700)] 
Merge pull request #2877 from topaxi:explict-valueof

Use explicit .valueOf() calls instead of coercion

9 years agoUse explicit .valueOf() calls instead of coercion
Damian Senn [Fri, 8 Jan 2016 12:20:22 +0000 (13:20 +0100)] 
Use explicit .valueOf() calls instead of coercion

9 years agoMerge pull request #3105 from ichernev:add-locale-sorted-weekdays
Iskren Chernev [Sat, 16 Apr 2016 05:51:21 +0000 (22:51 -0700)] 
Merge pull request #3105 from ichernev:add-locale-sorted-weekdays

Add localeSorted argument to weekday listers

9 years agoAdd localeSorted argument to weekday listers
Iskren Chernev [Tue, 12 Apr 2016 11:35:05 +0000 (04:35 -0700)] 
Add localeSorted argument to weekday listers

Fixes #2927, redo #3103

9 years agoMerge pull request #3045 from maggiepint:parsingFlags
Iskren Chernev [Sat, 16 Apr 2016 05:48:55 +0000 (22:48 -0700)] 
Merge pull request #3045 from maggiepint:parsingFlags

Expose parsed date parts. Invalid date if 'a' token parsed but no date parts parsed.

9 years agoAdd parsed date parts array to parsing flags. Add meridiem to parsing flags. Change...
maggie@tempworks.com [Wed, 16 Mar 2016 04:32:32 +0000 (23:32 -0500)] 
Add parsed date parts array to parsing flags. Add meridiem to parsing flags. Change isValid to cause date to be invalid if only token parsed is meridiem.

9 years agoMerge pull request #3078 from ichernev:fix-word-parsing
Iskren Chernev [Sat, 16 Apr 2016 05:45:16 +0000 (22:45 -0700)] 
Merge pull request #3078 from ichernev:fix-word-parsing

Fix parsing for months/weekdays with weird characters

9 years agoEnable weekdaysParseExact locale flag to fix weekday parsing on some locales
Iskren Chernev [Mon, 4 Apr 2016 09:45:07 +0000 (02:45 -0700)] 
Enable weekdaysParseExact locale flag to fix weekday parsing on some locales

9 years agoAdd monthStrictParsing to all locales with dots in the names
Iskren Chernev [Thu, 31 Mar 2016 10:03:31 +0000 (03:03 -0700)] 
Add monthStrictParsing to all locales with dots in the names

9 years agoMerge pull request #3092 from TheAlphaNerd/peg-grunt
Iskren Ivov Chernev [Wed, 6 Apr 2016 22:46:17 +0000 (15:46 -0700)] 
Merge pull request #3092 from TheAlphaNerd/peg-grunt

deps: peg grunt to ~0.4

9 years agodeps: peg grunt to ~0.4 3092/head
Myles Borins [Tue, 5 Apr 2016 07:28:19 +0000 (00:28 -0700)] 
deps: peg grunt to ~0.4

Dev deps cannot pass with grunt > 0.4

1.0 will fail without deps themselves updating. PEgging the grunt dep
ensures that npm install will work without error

fixes #3091

9 years agoMerge pull request #3065 from ichernev:no-deprecations-in-tests
Iskren Chernev [Thu, 31 Mar 2016 06:45:33 +0000 (23:45 -0700)] 
Merge pull request #3065 from ichernev:no-deprecations-in-tests

No deprecations in tests

9 years agoMark unit test deprecations in tests 3065/head
Iskren Chernev [Thu, 24 Mar 2016 14:22:05 +0000 (07:22 -0700)] 
Mark unit test deprecations in tests

9 years agoPrepare deprecation checking framework for tests
Iskren Chernev [Thu, 24 Mar 2016 13:08:03 +0000 (06:08 -0700)] 
Prepare deprecation checking framework for tests

9 years agoMerge pull request #3013 from mj1856:dont-validate-line-endings
Iskren Chernev [Thu, 24 Mar 2016 11:39:34 +0000 (04:39 -0700)] 
Merge pull request #3013 from mj1856:dont-validate-line-endings

Don't validate line endings

9 years agoDon't validate line endings
Matt Johnson [Tue, 8 Mar 2016 04:45:23 +0000 (20:45 -0800)] 
Don't validate line endings

Causes excessive warnings when building on windows.

9 years agoIntroduce end-of-line normalization
Iskren Chernev [Thu, 24 Mar 2016 11:33:28 +0000 (04:33 -0700)] 
Introduce end-of-line normalization

9 years agoMerge pull request #3032 from mj1856:restore-tests-for-1379
Iskren Chernev [Thu, 24 Mar 2016 11:03:38 +0000 (04:03 -0700)] 
Merge pull request #3032 from mj1856:restore-tests-for-1379

Restore unit tests commented out in #1379

9 years agoUse iso getters to check the iso setters
Iskren Chernev [Thu, 24 Mar 2016 11:03:29 +0000 (04:03 -0700)] 
Use iso getters to check the iso setters

9 years agoRestore unit tests commented out in #1379
Matt Johnson [Sat, 12 Mar 2016 08:00:02 +0000 (00:00 -0800)] 
Restore unit tests commented out in #1379

9 years agoMerge pull request #3034 from mj1856:fix-dst-tests
Iskren Chernev [Thu, 24 Mar 2016 10:57:09 +0000 (03:57 -0700)] 
Merge pull request #3034 from mj1856:fix-dst-tests

Fix unit test failures during daylight saving time

9 years agoRemove duplicate tests
Matt Johnson [Sun, 13 Mar 2016 02:40:44 +0000 (18:40 -0800)] 
Remove duplicate tests

These are already in zone_switching.js

9 years agoIgnore these tests during DST
Matt Johnson [Sun, 13 Mar 2016 02:40:21 +0000 (18:40 -0800)] 
Ignore these tests during DST

9 years agoFix test for DST
Matt Johnson [Sun, 13 Mar 2016 02:39:56 +0000 (18:39 -0800)] 
Fix test for DST

9 years agoFix locale-specific unit tests for DST
Matt Johnson [Sun, 13 Mar 2016 02:39:33 +0000 (18:39 -0800)] 
Fix locale-specific unit tests for DST

9 years agoMerge pull request #3038 from mj1856:more-dst-fixes
Iskren Chernev [Thu, 24 Mar 2016 10:54:09 +0000 (03:54 -0700)] 
Merge pull request #3038 from mj1856:more-dst-fixes

More DST fixes in unit tests

9 years agoRemove duplicate unit test
Matt Johnson [Sun, 13 Mar 2016 19:17:29 +0000 (12:17 -0700)] 
Remove duplicate unit test

This is already in common-locale.js and runs for all locales

9 years agoKeep in UTC to avoid DST issues
Matt Johnson [Sun, 13 Mar 2016 19:15:55 +0000 (12:15 -0700)] 
Keep in UTC to avoid DST issues

9 years agoTest mid-day to avoid DST issues
Matt Johnson [Sun, 13 Mar 2016 19:15:07 +0000 (12:15 -0700)] 
Test mid-day to avoid DST issues

9 years agoMerge pull request #3053 from gre:patch-1
Iskren Chernev [Thu, 24 Mar 2016 10:45:40 +0000 (03:45 -0700)] 
Merge pull request #3053 from gre:patch-1

Make Documentation link more obvious on npmjs

9 years agoUpdate README.md 3053/head
Gaëtan Renaudeau [Fri, 18 Mar 2016 10:58:43 +0000 (11:58 +0100)] 
Update README.md

It's a minor feedback, but when you look at the readme on https://www.npmjs.com/package/moment , it's really not obvious that "Documentation" was a link (because it's a title).
maybe it's a bug to raise at npmjs itself, but this PR would fix it.

9 years agoBuild 2.12.0 2.12.0
Iskren Chernev [Mon, 7 Mar 2016 09:14:46 +0000 (01:14 -0800)] 
Build 2.12.0

9 years agoBump version to 2.12.0
Iskren Chernev [Mon, 7 Mar 2016 09:13:17 +0000 (01:13 -0800)] 
Bump version to 2.12.0

9 years agoUpdate changelog for 2.12.0
Iskren Chernev [Mon, 7 Mar 2016 09:12:41 +0000 (01:12 -0800)] 
Update changelog for 2.12.0

9 years agoMerge pull request #3007 from ichernev:bring-back-src
Iskren Chernev [Mon, 7 Mar 2016 07:59:53 +0000 (23:59 -0800)] 
Merge pull request #3007 from ichernev:bring-back-src

Add src without src/test to npm package

9 years agoAdd src without src/test to npm package 3007/head
Iskren Chernev [Sun, 6 Mar 2016 09:40:32 +0000 (01:40 -0800)] 
Add src without src/test to npm package

9 years agoMerge pull request #2829 from XueWei:develop
Iskren Chernev [Sun, 6 Mar 2016 09:22:10 +0000 (01:22 -0800)] 
Merge pull request #2829 from XueWei:develop

Add day marker character for Japanese.(update)

9 years agoAdd day marker character for Japanese.Update test again.
XueWei [Wed, 23 Dec 2015 07:20:06 +0000 (23:20 -0800)] 
Add day marker character for Japanese.Update test again.

9 years agoAdd day marker character for Japanese.Update test.
XueWei [Tue, 22 Dec 2015 20:34:26 +0000 (12:34 -0800)] 
Add day marker character for Japanese.Update test.

9 years agoAdd day marker character for Japanese.
XueWei [Tue, 22 Dec 2015 15:27:29 +0000 (07:27 -0800)] 
Add day marker character for Japanese.

9 years agoAdd day marker character for Japanese.
XueWei [Tue, 22 Dec 2015 00:31:09 +0000 (16:31 -0800)] 
Add day marker character for Japanese.

9 years agoMerge pull request #2804 from marlonmleite:develop
Iskren Chernev [Sun, 6 Mar 2016 09:11:19 +0000 (01:11 -0800)] 
Merge pull request #2804 from marlonmleite:develop

Correction of the week names in pt-BR

9 years ago Correction of tests for the new names of the days of the week.
Marlon Maxwel [Thu, 10 Dec 2015 01:55:15 +0000 (23:55 -0200)] 
 Correction of tests for the new names of the days of the week.

9 years agoCorrection of the week names
Marlon Maxwel [Wed, 9 Dec 2015 19:41:59 +0000 (17:41 -0200)] 
Correction of the week names

In Brazil the right names in week that consists in "feira" is "DAYOFWEEK-feira", "Feira" is incorrect.

9 years agoMerge pull request #2826 from danielgindi:patch-1
Iskren Chernev [Sun, 6 Mar 2016 09:10:08 +0000 (01:10 -0800)] 
Merge pull request #2826 from danielgindi:patch-1

Improved Hebrew locale

9 years agoUpdated tests for am/pm in `he` locale
Daniel Cohen Gindi [Wed, 30 Dec 2015 07:20:05 +0000 (09:20 +0200)] 
Updated tests for am/pm in `he` locale

9 years agoLocalized am/pm in `he` locale
Daniel Cohen Gindi [Mon, 21 Dec 2015 05:39:37 +0000 (07:39 +0200)] 
Localized am/pm in `he` locale

9 years agoMerge pull request #2852 from zhantongz:develop
Iskren Chernev [Sun, 6 Mar 2016 09:09:07 +0000 (01:09 -0800)] 
Merge pull request #2852 from zhantongz:develop

Canadian English longDateFormat

9 years agoUpdate en-ca.js
Zhan Tong Zhang [Sun, 3 Jan 2016 15:23:23 +0000 (08:23 -0700)] 
Update en-ca.js

9 years agoUpdate en-ca.js
Zhan Tong Zhang [Sun, 3 Jan 2016 15:22:48 +0000 (08:22 -0700)] 
Update en-ca.js

9 years agoMerge pull request #2911 from jonoskar:update-locale-is
Iskren Chernev [Sun, 6 Mar 2016 09:08:07 +0000 (01:08 -0800)] 
Merge pull request #2911 from jonoskar:update-locale-is

Update to icelandic locale

9 years agoUpdated the icelandic locale specifier 'L' to use dot instead of forward slash.
Jón Óskar Erlendsson [Wed, 20 Jan 2016 14:09:08 +0000 (14:09 +0000)] 
Updated the icelandic locale specifier 'L' to use dot instead of forward slash.

9 years agoMerge pull request #2917 from harpreetkhalsagtbit:localePunjabiIndiaFormatConversion
Iskren Chernev [Sun, 6 Mar 2016 09:07:11 +0000 (01:07 -0800)] 
Merge pull request #2917 from harpreetkhalsagtbit:localePunjabiIndiaFormatConversion

Locale Punjabi(Gurmukhi) India format conversion

9 years agoAdd:Tests for Punjabi(Gurmukhi) India Locale Conversion
harpreetkhalsagtbit [Fri, 22 Jan 2016 08:43:42 +0000 (14:13 +0530)] 
Add:Tests for Punjabi(Gurmukhi) India Locale Conversion

9 years agoAdd:Punjabi(Gurmukhi) India Locale Conversion
harpreetkhalsagtbit [Fri, 22 Jan 2016 08:43:26 +0000 (14:13 +0530)] 
Add:Punjabi(Gurmukhi) India Locale Conversion

9 years agoMerge pull request #2897 from andrewkolesnikov:develop
Iskren Chernev [Sun, 6 Mar 2016 09:04:41 +0000 (01:04 -0800)] 
Merge pull request #2897 from andrewkolesnikov:develop

parse string arguments for month() correctly, closes #2884

9 years agoConvert to int before days-in-month check
Iskren Chernev [Sun, 6 Mar 2016 09:04:26 +0000 (01:04 -0800)] 
Convert to int before days-in-month check

9 years agoparse string arguments for month() correctly, closes #2884
Andrew Kolesnikov [Thu, 14 Jan 2016 09:12:13 +0000 (16:12 +0700)] 
parse string arguments for month() correctly, closes #2884

9 years agoMerge pull request #2818 from JohnAnthony:parse-duration-day-and-week
Iskren Chernev [Sun, 6 Mar 2016 08:55:06 +0000 (00:55 -0800)] 
Merge pull request #2818 from JohnAnthony:parse-duration-day-and-week

Parse ISO-8061 duration containing both day and week values

9 years agoFix parsing of ISO-8061 duration with both day and week values
John Anthony [Wed, 16 Dec 2015 00:25:48 +0000 (00:25 +0000)] 
Fix parsing of ISO-8061 duration with both day and week values

9 years agoMerge pull request #2887 from wraithgar:invalid_null_date
Iskren Chernev [Sun, 6 Mar 2016 08:53:01 +0000 (00:53 -0800)] 
Merge pull request #2887 from wraithgar:invalid_null_date

Fix toJSON casting of invalid moment

9 years agoupdate comment explanation to be correct
Michael Garvin [Tue, 12 Jan 2016 00:37:32 +0000 (16:37 -0800)] 
update comment explanation to be correct

9 years agoFix toJSON casting of invalid moment (#2886)
Michael Garvin [Mon, 11 Jan 2016 23:50:35 +0000 (15:50 -0800)] 
Fix toJSON casting of invalid moment (#2886)

Invalid moments were casting as 'null' (the string)
Now they are properly casting as null (the literal)

9 years agoMerge pull request #2932 from jisaacks:list-locales
Iskren Chernev [Sun, 6 Mar 2016 08:51:56 +0000 (00:51 -0800)] 
Merge pull request #2932 from jisaacks:list-locales

List loaded locales

9 years agoAdd smarter test for moment.locales
JD Isaacks [Wed, 3 Feb 2016 20:26:22 +0000 (15:26 -0500)] 
Add smarter test for moment.locales

9 years agoList loaded locales
JD Isaacks [Sun, 31 Jan 2016 21:34:25 +0000 (16:34 -0500)] 
List loaded locales

9 years agoMerge pull request #2946 from crteal:fix-min-max-deprecation-warnings
Iskren Chernev [Sun, 6 Mar 2016 08:47:29 +0000 (00:47 -0800)] 
Merge pull request #2946 from crteal:fix-min-max-deprecation-warnings

Fix usage suggestions for min and max

9 years agoFix usage suggestions for min and max
Colin Teal [Wed, 3 Feb 2016 21:27:46 +0000 (13:27 -0800)] 
Fix usage suggestions for min and max

9 years agoMerge pull request #2958 from marijaselakovic:develop
Iskren Chernev [Sun, 6 Mar 2016 08:46:22 +0000 (00:46 -0800)] 
Merge pull request #2958 from marijaselakovic:develop

optimization of isArray and unit tests

9 years agooptimization of isArray and unit tests
marija [Tue, 9 Feb 2016 17:08:13 +0000 (18:08 +0100)] 
optimization of isArray and unit tests

removed paddings

9 years agoMerge pull request #2970 from maggiepint:decimalAddSubtract
Iskren Chernev [Sun, 6 Mar 2016 08:44:39 +0000 (00:44 -0800)] 
Merge pull request #2970 from maggiepint:decimalAddSubtract

change add subtract to handle decimal values by rounding

9 years agoFix test comments
Iskren Chernev [Sun, 6 Mar 2016 08:44:34 +0000 (00:44 -0800)] 
Fix test comments

9 years agochange add subtract to handle decimal values by abs rounding
maggie@tempworks.com [Wed, 17 Feb 2016 23:58:39 +0000 (17:58 -0600)] 
change add subtract to handle decimal values by abs rounding

9 years agoMerge pull request #2972 from nono:develop
Iskren Chernev [Sun, 6 Mar 2016 08:39:25 +0000 (00:39 -0800)] 
Merge pull request #2972 from nono:develop

Use npmignore when publising npm packages

9 years agoUse npmignore when publising npm packages
Bruno Michel [Thu, 18 Feb 2016 09:33:23 +0000 (10:33 +0100)] 
Use npmignore when publising npm packages

9 years agoMerge pull request #2989 from Oire:fix-vi-ampm
Iskren Chernev [Sun, 6 Mar 2016 08:37:34 +0000 (00:37 -0800)] 
Merge pull request #2989 from Oire:fix-vi-ampm

Vietnamese: added meridiem

9 years agoVietnamese: added meridiem, fixes #1747
Andre Polykanine A.K.A. Menelion Elensúlë [Thu, 25 Feb 2016 23:51:01 +0000 (01:51 +0200)] 
Vietnamese: added meridiem, fixes #1747

9 years agoMerge pull request #2774 from ichernev:locale-inheritance
Iskren Chernev [Sun, 6 Mar 2016 08:35:45 +0000 (00:35 -0800)] 
Merge pull request #2774 from ichernev:locale-inheritance

Implement locale inheritance and locale updating

9 years agoImplement locale inheritance and locale updating
Iskren Chernev [Fri, 27 Nov 2015 05:54:49 +0000 (07:54 +0200)] 
Implement locale inheritance and locale updating

9 years agoMerge pull request #2850 from ichernev:common-locale-tests
Iskren Chernev [Sun, 6 Mar 2016 08:31:46 +0000 (00:31 -0800)] 
Merge pull request #2850 from ichernev:common-locale-tests

Common locale tests

9 years agoAdd common locale tests, to avoid copy-paste between locale tests
Iskren Chernev [Sun, 3 Jan 2016 15:04:29 +0000 (17:04 +0200)] 
Add common locale tests, to avoid copy-paste between locale tests

9 years agoFix meridiem parsing for bn,bo,dv,ml,si,tzl
Iskren Chernev [Sun, 3 Jan 2016 15:03:24 +0000 (17:03 +0200)] 
Fix meridiem parsing for bn,bo,dv,ml,si,tzl

9 years agoRemove 'meridiem invariant' test from all locales
Iskren Chernev [Sun, 3 Jan 2016 14:28:48 +0000 (16:28 +0200)] 
Remove 'meridiem invariant' test from all locales

9 years agoRemove extra newlines in tests
Iskren Chernev [Sun, 3 Jan 2016 13:57:56 +0000 (15:57 +0200)] 
Remove extra newlines in tests

9 years agoRemove 'weeks year starting *' tests from all locales
Iskren Chernev [Sun, 3 Jan 2016 13:52:20 +0000 (15:52 +0200)] 
Remove 'weeks year starting *' tests from all locales