]>
git.ipfire.org Git - thirdparty/moment.git/log
Maggie Pint [Sat, 30 Apr 2016 04:08:39 +0000 (05:08 +0100)]
deprecate isDSTShifted
Iskren Chernev [Tue, 14 Jun 2016 09:16:40 +0000 (02:16 -0700)]
Merge pull request #3157 from Pephers:develop
Add Dominican Republic Spanish (es-do)
Chiel Robben [Thu, 28 Apr 2016 19:07:04 +0000 (21:07 +0200)]
Add Dominican Republic Spanish (es-do)
Iskren Chernev [Tue, 14 Jun 2016 09:13:29 +0000 (02:13 -0700)]
Merge pull request #3155 from Knagis:develop
Fixed Latvian locale - 'After 211 years'
Iskren Chernev [Tue, 14 Jun 2016 09:13:21 +0000 (02:13 -0700)]
Make jscs happy
Kārlis Gaņģis [Tue, 7 Jun 2016 09:07:51 +0000 (12:07 +0300)]
Added tests for LV locale
Kārlis Gaņģis [Thu, 28 Apr 2016 13:05:06 +0000 (16:05 +0300)]
Fixed Latvian locale - 'After 211 years'
Iskren Chernev [Tue, 14 Jun 2016 09:09:28 +0000 (02:09 -0700)]
Merge pull request #3152 from aijo:thai-month-fixed
Fixed short thai months
Iskren Chernev [Tue, 14 Jun 2016 09:09:17 +0000 (02:09 -0700)]
Revert changes to locale/*
Chanintorn Asavavichairoj [Tue, 31 May 2016 03:36:26 +0000 (10:36 +0700)]
Fixed short thai months with unit-test
Chanintorn Asavavichairoj [Thu, 28 Apr 2016 09:07:15 +0000 (16:07 +0700)]
Fixed short thai months
Iskren Chernev [Tue, 14 Jun 2016 09:07:31 +0000 (02:07 -0700)]
Merge pull request #3147 from generalov:patch-1
Call calendar format function with moment context
generalov [Tue, 26 Apr 2016 14:46:42 +0000 (19:46 +0500)]
Call calendar format function with moment context
What: the code:
```
moment().days(-1000).calendar(null, {
sameElse: function() {
return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
}
});
```
Where: on http://momentjs.com/docs/#/displaying/calendar-time/ in the Chrome console.
What I got: It raises `Uncaught TypeError: this.hours is not a function`
I expected use callback like in the example on http://momentjs.com/docs/#/customization/calendar/ .
This PR makes the compatible call with https://github.com/moment/moment/blob/develop/src/lib/locale/calendar.js#L14
Iskren Chernev [Tue, 14 Jun 2016 09:06:44 +0000 (02:06 -0700)]
Merge pull request #3135 from tomvlk:develop
Adding updateLocale and defineLocale to typescript definition.
Tom Valk [Wed, 8 Jun 2016 09:54:24 +0000 (11:54 +0200)]
Fixing argument type for updateLocale in definition file.
Tom Valk [Fri, 22 Apr 2016 14:33:14 +0000 (16:33 +0200)]
Adding updateLocale and defineLocale to typescript definition.
Iskren Chernev [Tue, 14 Jun 2016 09:05:25 +0000 (02:05 -0700)]
Drop non-LTS node versions from travis
Iskren Chernev [Tue, 14 Jun 2016 09:03:19 +0000 (02:03 -0700)]
Merge pull request #3129 from david-driscoll:david-driscoll-patch-1
isDate, isMoment, isDuration as guard methods
David Driscoll [Mon, 18 Apr 2016 20:54:37 +0000 (16:54 -0400)]
isDate, isMoment, isDuration as guard methods
Iskren Chernev [Tue, 14 Jun 2016 09:02:31 +0000 (02:02 -0700)]
Merge pull request #3127 from socketpair:rmofix
Fix russian locale regexps
Коренберг Марк (imac) [Mon, 18 Apr 2016 19:59:27 +0000 (00:59 +0500)]
Fix russian locale regexps
Iskren Chernev [Tue, 14 Jun 2016 09:01:52 +0000 (02:01 -0700)]
Merge pull request #3122 from blakeembrey:update-ts-def
Improve `diff` argument name (TS definition)
Blake Embrey [Mon, 18 Apr 2016 18:10:08 +0000 (11:10 -0700)]
Improve `diff` argument name
From discussion in https://github.com/moment/moment/pull/2916/files/
f2e45889e5d7522d7a5e8ffd607b783be320cb3c #r60102231
Iskren Chernev [Tue, 14 Jun 2016 09:00:37 +0000 (02:00 -0700)]
Merge pull request #3119 from hehachris:chris/zh-tw-improvement
Chris/zh tw improvement
Chris Lam [Mon, 18 Apr 2016 06:46:47 +0000 (14:46 +0800)]
Update test cases
Chris Lam [Mon, 18 Apr 2016 06:46:33 +0000 (14:46 +0800)]
Update zh-tw translations
Iskren Chernev [Tue, 14 Jun 2016 08:56:24 +0000 (01:56 -0700)]
Merge pull request #3115 from maggiepint:linkChanges
Link changes
maggie@tempworks.com [Sun, 17 Apr 2016 19:53:36 +0000 (14:53 -0500)]
update links to direct to guides section
Iskren Chernev [Tue, 14 Jun 2016 08:51:36 +0000 (01:51 -0700)]
Merge pull request #3112 from marijaselakovic:develop
optimize configFromStringAndFormat
marija [Fri, 15 Apr 2016 15:34:40 +0000 (17:34 +0200)]
optimize configFromStringAndFormat
Iskren Chernev [Tue, 14 Jun 2016 08:26:13 +0000 (01:26 -0700)]
Merge pull request #3008 from maggiepint:objectSetter
Object setter orders sets based on size of unit
Maggie Pint [Sun, 24 Apr 2016 19:48:08 +0000 (14:48 -0500)]
object set ordering
Iskren Chernev [Tue, 14 Jun 2016 08:25:08 +0000 (01:25 -0700)]
Merge pull request #3237 from ichernev:fix-cs
Redo #2997, fix #2016
Iskren Chernev [Tue, 14 Jun 2016 08:24:07 +0000 (01:24 -0700)]
Redo #2997, fix #2016
Iskren Chernev [Tue, 14 Jun 2016 08:20:20 +0000 (01:20 -0700)]
Merge pull request #2848 from numeraltwo:develop
Allow user to get/set the rounding method used when calculating relative time
Ramsay Stirling II [Mon, 24 Aug 2015 00:03:05 +0000 (20:03 -0400)]
Allow user to get/set the rounding method used when calculating relative time
Iskren Chernev [Sun, 12 Jun 2016 04:32:16 +0000 (21:32 -0700)]
Merge pull request #3218 from monoblaine:jscs-editing
Fix jscs 3.0 errors
Serhan Apaydın [Tue, 7 Jun 2016 19:47:58 +0000 (22:47 +0300)]
Fix code style errors reported by jscs
Serhan Apaydın [Tue, 7 Jun 2016 19:45:56 +0000 (22:45 +0300)]
Fix jscs 3.0 error: 'The `esnext` option is enabled by default.'
Iskren Chernev [Mon, 18 Apr 2016 07:41:13 +0000 (00:41 -0700)]
Include moment.d.ts file in packages (npm)
Iskren Chernev [Mon, 18 Apr 2016 07:27:05 +0000 (00:27 -0700)]
Build 2.13.0
Iskren Chernev [Mon, 18 Apr 2016 07:24:39 +0000 (00:24 -0700)]
Bump version to 2.13.0
Iskren Chernev [Mon, 18 Apr 2016 07:23:45 +0000 (00:23 -0700)]
Update changelog for 2.13.0
Iskren Chernev [Mon, 18 Apr 2016 06:39:23 +0000 (23:39 -0700)]
Fix indexOf and Object.keys for IE8
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
Iskren Chernev [Mon, 18 Apr 2016 02:38:58 +0000 (19:38 -0700)]
Update typescript definitions for 2.13.0
gdi2290 [Fri, 22 Jan 2016 07:20:31 +0000 (23:20 -0800)]
feat: moment.d.ts
support for typescript type definition
Iskren Chernev [Sat, 16 Apr 2016 08:16:38 +0000 (01:16 -0700)]
Merge pull request #2901 from JunhoKim01:patch-1
Update 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
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
Gary Lo [Tue, 8 Mar 2016 16:06:01 +0000 (00:06 +0800)]
Resolve issue #3014 inconsistent relativeTime locale in zh-tw
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
Sereysethy Touch [Wed, 9 Mar 2016 04:54:27 +0000 (11:54 +0700)]
Fix locale for khmer (km) - miss spelling of March
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
Talat Uspanov [Wed, 9 Mar 2016 05:28:41 +0000 (11:28 +0600)]
Change months, weekdays to lowercase
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
Matt Johnson [Thu, 10 Mar 2016 03:50:36 +0000 (19:50 -0800)]
Fix issue with DST transition in Chinese locale
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
Kristoffer Snabb [Thu, 10 Mar 2016 13:01:16 +0000 (15:01 +0200)]
added kl. to the swedish translations
Iskren Chernev [Sat, 16 Apr 2016 08:05:41 +0000 (01:05 -0700)]
Merge pull request #3070 from Chyngyz:develop
Kyrgyz_kg locale support
Chyngyz Arystan uulu [Tue, 12 Apr 2016 14:29:34 +0000 (20:29 +0600)]
Update 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)
Chyngyz [Mon, 28 Mar 2016 11:14:01 +0000 (17:14 +0600)]
Added Kyrgyz_kg locale
Iskren Chernev [Sat, 16 Apr 2016 08:04:40 +0000 (01:04 -0700)]
Add exact parsing for weekdays in siswati, rel #3081
Iskren Chernev [Sat, 16 Apr 2016 07:48:08 +0000 (00:48 -0700)]
Merge pull request #3081 from Nicolaidavies:develop
Add siSwati (ss) locale
Nicolai Davies [Thu, 31 Mar 2016 16:35:49 +0000 (18:35 +0200)]
Fix spelling
Nicolai Davies [Thu, 31 Mar 2016 16:26:34 +0000 (18:26 +0200)]
Add siSwati (ss) locale
Iskren Chernev [Sat, 16 Apr 2016 07:46:27 +0000 (00:46 -0700)]
Merge pull request #3089 from flugger:patch-1
Update norwegian locale
Alexander Tømmerås [Fri, 8 Apr 2016 09:21:54 +0000 (11:21 +0200)]
Fix nn locale test
Alexander Tømmerås [Fri, 8 Apr 2016 09:19:03 +0000 (11:19 +0200)]
Update nn locale as well
Alexander Tømmerås [Fri, 8 Apr 2016 09:14:16 +0000 (11:14 +0200)]
Update locale test
Alexander Tømmerås [Fri, 8 Apr 2016 09:06:54 +0000 (11:06 +0200)]
Change string in nb locale
Alexander Tømmerås [Fri, 8 Apr 2016 09:05:33 +0000 (11:05 +0200)]
Revert change in wrong file
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.
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)
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.
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.
Hiroyuki Wada [Wed, 13 Apr 2016 16:27:00 +0000 (01:27 +0900)]
Fix #1756 Resolved thread-safe issue on server side.
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
Afanasii Kurakin [Tue, 8 Mar 2016 03:37:11 +0000 (11:37 +0800)]
Added tests for #2978
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
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
Stephen Reddekopp [Sun, 7 Feb 2016 02:53:53 +0000 (20:53 -0600)]
added parsing negative components in durations when ISO 8601
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().
Arturo Coronel [Tue, 23 Feb 2016 04:25:13 +0000 (20:25 -0800)]
Add 'date' as alias to 'day' for startOf() and endOf()
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.
Iskren Chernev [Sat, 16 Apr 2016 06:57:46 +0000 (23:57 -0700)]
Refactored isBetween, related to #2991
David Kirk [Fri, 4 Mar 2016 06:29:39 +0000 (01:29 -0500)]
Added inclusivity param to isBetween Method
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
maggie@tempworks.com [Tue, 22 Mar 2016 04:07:15 +0000 (23:07 -0500)]
fix bug where diff returns -0 in month-related diffs
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
Matt Johnson [Sat, 12 Mar 2016 20:09:17 +0000 (13:09 -0700)]
Setting year should keep time when offset changes
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)
Iskren Chernev [Sat, 16 Apr 2016 06:47:47 +0000 (23:47 -0700)]
Fix x-pseudo test issues
Andrew Hood [Tue, 22 Mar 2016 20:08:31 +0000 (13:08 -0700)]
Add pseduo locale (x-pseudo)
Iskren Chernev [Sat, 16 Apr 2016 06:30:50 +0000 (23:30 -0700)]
Add custom month regexes for Russian (fixes #2977)
Iskren Chernev [Sat, 16 Apr 2016 05:59:35 +0000 (22:59 -0700)]
Merge pull request #2977 from socketpair:rufix3
Russian locale: months abbreviation
Коренберг Марк (imac) [Mon, 22 Feb 2016 08:55:31 +0000 (13:55 +0500)]
Russian locale: Сокращения названий месяцев
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
not-an-aardvark [Fri, 8 Apr 2016 06:10:48 +0000 (02:10 -0400)]
Add k and kk formatting tokens
Fixes #2762