]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
8 years agoImplement timezone interface timrwood/zone-api 3134/head
Tim Wood [Thu, 21 Apr 2016 17:24:03 +0000 (12:24 -0500)] 
Implement timezone interface

See https://github.com/moment/moment-rfcs/pull/1

8 years agoBuild 2.13.0 2.13.0
Iskren Chernev [Mon, 18 Apr 2016 07:27:05 +0000 (00:27 -0700)] 
Build 2.13.0

8 years agoBump version to 2.13.0
Iskren Chernev [Mon, 18 Apr 2016 07:24:39 +0000 (00:24 -0700)] 
Bump version to 2.13.0

8 years agoUpdate changelog for 2.13.0
Iskren Chernev [Mon, 18 Apr 2016 07:23:45 +0000 (00:23 -0700)] 
Update changelog for 2.13.0

8 years agoFix indexOf and Object.keys for IE8
Iskren Chernev [Mon, 18 Apr 2016 06:39:23 +0000 (23:39 -0700)] 
Fix indexOf and Object.keys for IE8

8 years agoMerge pull request #2916 from gdi2290:typings-support
Iskren Chernev [Mon, 18 Apr 2016 02:39:19 +0000 (19:39 -0700)] 
Merge pull request #2916 from gdi2290:typings-support

feat: moment.d.ts TypeScript definition

8 years agoUpdate typescript definitions for 2.13.0
Iskren Chernev [Mon, 18 Apr 2016 02:38:58 +0000 (19:38 -0700)] 
Update typescript definitions for 2.13.0

8 years agofeat: moment.d.ts
gdi2290 [Fri, 22 Jan 2016 07:20:31 +0000 (23:20 -0800)] 
feat: moment.d.ts

support for typescript type definition

8 years agoMerge pull request #2901 from JunhoKim01:patch-1
Iskren Chernev [Sat, 16 Apr 2016 08:16:38 +0000 (01:16 -0700)] 
Merge pull request #2901 from JunhoKim01:patch-1

Update ko.js

8 years agoUpdate ko.js
Junho Kim [Sun, 17 Jan 2016 10:53:33 +0000 (19:53 +0900)] 
Update ko.js

relativeTime 일부 맞춤법 수정  // Correct relativeTime strings based on Korean gramma checker (http://speller.cs.pusan.ac.kr/PnuSpellerISAPI_201504/)

1. 몇초 --> 몇 초
2. 한시간 --> 한 시간
3. 한달 --> 한 달
4. 일년 --> 일 년

Update ko.js #2

Update ko.js #3

remove the changes locale/ko.ks

8 years agoMerge pull request #3015 from gaplo917:develop
Iskren Chernev [Sat, 16 Apr 2016 08:13:15 +0000 (01:13 -0700)] 
Merge pull request #3015 from gaplo917:develop

Resolve issue #3014 inconsistent relativeTime locale in zh-tw

8 years agoResolve issue #3014 inconsistent relativeTime locale in zh-tw
Gary Lo [Tue, 8 Mar 2016 16:06:01 +0000 (00:06 +0800)] 
Resolve issue #3014 inconsistent relativeTime locale in zh-tw

8 years agoMerge pull request #3023 from sereysethy:develop
Iskren Chernev [Sat, 16 Apr 2016 08:11:07 +0000 (01:11 -0700)] 
Merge pull request #3023 from sereysethy:develop

Fix locale for Khmer - Miss spelling of March

8 years agoFix locale for khmer (km) - miss spelling of March
Sereysethy Touch [Wed, 9 Mar 2016 04:54:27 +0000 (11:54 +0700)] 
Fix locale for khmer (km) - miss spelling of March

8 years agoMerge pull request #3024 from talgautb:develop
Iskren Chernev [Sat, 16 Apr 2016 08:09:58 +0000 (01:09 -0700)] 
Merge pull request #3024 from talgautb:develop

Change months, weekdays to lowercase

8 years agoChange months, weekdays to lowercase
Talat Uspanov [Wed, 9 Mar 2016 05:28:41 +0000 (11:28 +0600)] 
Change months, weekdays to lowercase

8 years agoMerge pull request #3028 from mj1856:fix-for-3016
Iskren Chernev [Sat, 16 Apr 2016 08:08:48 +0000 (01:08 -0700)] 
Merge pull request #3028 from mj1856:fix-for-3016

Fix issue with DST transition in Chinese locale

8 years agoFix issue with DST transition in Chinese locale
Matt Johnson [Thu, 10 Mar 2016 03:50:36 +0000 (19:50 -0800)] 
Fix issue with DST transition in Chinese locale

8 years agoMerge pull request #3030 from ksnabb:develop
Iskren Chernev [Sat, 16 Apr 2016 08:07:20 +0000 (01:07 -0700)] 
Merge pull request #3030 from ksnabb:develop

added kl. to the swedish times

8 years agoadded kl. to the swedish translations
Kristoffer Snabb [Thu, 10 Mar 2016 13:01:16 +0000 (15:01 +0200)] 
added kl. to the swedish translations

8 years agoMerge pull request #3070 from Chyngyz:develop
Iskren Chernev [Sat, 16 Apr 2016 08:05:41 +0000 (01:05 -0700)] 
Merge pull request #3070 from Chyngyz:develop

Kyrgyz_kg locale support

8 years agoUpdate and rename kg.js to ky.js
Chyngyz Arystan uulu [Tue, 12 Apr 2016 14:29:34 +0000 (20:29 +0600)] 
Update and rename kg.js to ky.js

8 years agoUpdate and rename kg.js to ky.js
Chyngyz Arystan uulu [Tue, 12 Apr 2016 14:27:02 +0000 (20:27 +0600)] 
Update and rename kg.js to ky.js

Changed to ISO language code (KY)

8 years agoAdded Kyrgyz_kg locale
Chyngyz [Mon, 28 Mar 2016 11:14:01 +0000 (17:14 +0600)] 
Added Kyrgyz_kg locale

8 years agoAdd exact parsing for weekdays in siswati, rel #3081
Iskren Chernev [Sat, 16 Apr 2016 08:04:40 +0000 (01:04 -0700)] 
Add exact parsing for weekdays in siswati, rel #3081

8 years agoMerge pull request #3081 from Nicolaidavies:develop
Iskren Chernev [Sat, 16 Apr 2016 07:48:08 +0000 (00:48 -0700)] 
Merge pull request #3081 from Nicolaidavies:develop

Add siSwati (ss) locale

8 years agoFix spelling
Nicolai Davies [Thu, 31 Mar 2016 16:35:49 +0000 (18:35 +0200)] 
Fix spelling

8 years agoAdd siSwati (ss) locale
Nicolai Davies [Thu, 31 Mar 2016 16:26:34 +0000 (18:26 +0200)] 
Add siSwati (ss) locale

8 years agoMerge pull request #3089 from flugger:patch-1
Iskren Chernev [Sat, 16 Apr 2016 07:46:27 +0000 (00:46 -0700)] 
Merge pull request #3089 from flugger:patch-1

Update norwegian locale

8 years agoFix nn locale test
Alexander Tømmerås [Fri, 8 Apr 2016 09:21:54 +0000 (11:21 +0200)] 
Fix nn locale test

8 years agoUpdate nn locale as well
Alexander Tømmerås [Fri, 8 Apr 2016 09:19:03 +0000 (11:19 +0200)] 
Update nn locale as well

8 years agoUpdate locale test
Alexander Tømmerås [Fri, 8 Apr 2016 09:14:16 +0000 (11:14 +0200)] 
Update locale test

8 years agoChange string in nb locale
Alexander Tømmerås [Fri, 8 Apr 2016 09:06:54 +0000 (11:06 +0200)] 
Change string in nb locale

8 years agoRevert change in wrong file
Alexander Tømmerås [Fri, 8 Apr 2016 09:05:33 +0000 (11:05 +0200)] 
Revert change in wrong file

8 years agoUpdate norwegian locale
Alexander Tømmerås [Mon, 4 Apr 2016 13:49:13 +0000 (15:49 +0200)] 
Update norwegian locale

The "for" is not needed for the sentence to make sense in Norwegian, and this will give the developer the chance to omit the "for" if wanted. This is also more consistent compared to the other locales in this repository.

8 years agoMerge pull request #3098 from lcarva:default-utc-formatting
Iskren Chernev [Sat, 16 Apr 2016 07:44:53 +0000 (00:44 -0700)] 
Merge pull request #3098 from lcarva:default-utc-formatting

Using Z suffix when in UTC mode (#3020)

8 years agoUsing Z suffix when in UTC mode (#3020)
lcarva [Fri, 8 Apr 2016 00:59:07 +0000 (20:59 -0400)] 
Using Z suffix when in UTC mode (#3020)

As described in issue #3020, a moment in UTC mode
should be formatted, by default, with the letter Z
as a suffix instead of the time zone, +00:00.

8 years agoMerge pull request #3109 from wadahiro:threadsafe_on_server_side
Iskren Chernev [Sat, 16 Apr 2016 07:43:12 +0000 (00:43 -0700)] 
Merge pull request #3109 from wadahiro:threadsafe_on_server_side

Fix #1756 Resolved thread-safe issue on server side.

8 years agoFix #1756 Resolved thread-safe issue on server side.
Hiroyuki Wada [Wed, 13 Apr 2016 16:27:00 +0000 (01:27 +0900)] 
Fix #1756 Resolved thread-safe issue on server side.

8 years agoMerge pull request #2995 from akura-co:develop
Iskren Chernev [Sat, 16 Apr 2016 07:39:50 +0000 (00:39 -0700)] 
Merge pull request #2995 from akura-co:develop

Using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors

8 years agoAdded tests for #2978
Afanasii Kurakin [Tue, 8 Mar 2016 03:37:11 +0000 (11:37 +0800)] 
Added tests for #2978

8 years agoUsing 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors
Afanasii Kurakin [Tue, 1 Mar 2016 05:13:43 +0000 (13:13 +0800)] 
Using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors

8 years agoMerge pull request #2955 from stephenreddek:develop
Iskren Chernev [Sat, 16 Apr 2016 07:35:49 +0000 (00:35 -0700)] 
Merge pull request #2955 from stephenreddek:develop

Add parsing negative components in durations when ISO 8601

8 years agoadded parsing negative components in durations when ISO 8601
Stephen Reddekopp [Sun, 7 Feb 2016 02:53:53 +0000 (20:53 -0600)] 
added parsing negative components in durations when ISO 8601

8 years agoMerge pull request #2982 from datyayu:develop
Iskren Chernev [Sat, 16 Apr 2016 07:00:14 +0000 (00:00 -0700)] 
Merge pull request #2982 from datyayu:develop

Add 'date' as alias to 'day' for startOf() and endOf().

8 years agoAdd 'date' as alias to 'day' for startOf() and endOf()
Arturo Coronel [Tue, 23 Feb 2016 04:25:13 +0000 (20:25 -0800)] 
Add 'date' as alias to 'day' for startOf() and endOf()

8 years agoMerge pull request #2991 from dbkirk4211:develop
Iskren Chernev [Sat, 16 Apr 2016 06:57:53 +0000 (23:57 -0700)] 
Merge pull request #2991 from dbkirk4211:develop

Added inclusivity parameter to isBetween method.

8 years agoRefactored isBetween, related to #2991
Iskren Chernev [Sat, 16 Apr 2016 06:57:46 +0000 (23:57 -0700)] 
Refactored isBetween, related to #2991

8 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

8 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

8 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

8 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

8 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

8 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)

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

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

8 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)

8 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

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

8 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

8 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

8 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

8 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.

8 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

8 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

8 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

8 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

8 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.

8 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.

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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.

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

8 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

8 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

8 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

8 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

8 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

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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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.

8 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

8 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

8 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

8 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

8 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

8 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)