]>
git.ipfire.org Git - thirdparty/moment.git/log
Kunal Marwaha [Sun, 17 Dec 2017 01:07:38 +0000 (20:07 -0500)]
Update changelog for 2.20.0
Ash [Sun, 17 Dec 2017 00:41:10 +0000 (00:41 +0000)]
[feature] Prevent toISOString converting to UTC (issue #1751) (#4341)
* [feature] Prevent toISOString converting to UTC (issue #1751)
* Improve readability (maybe)
* Tweak following code review
* jshint fix
Ash [Sun, 17 Dec 2017 00:38:49 +0000 (00:38 +0000)]
[bugfix] Fix #4251: Avoid RFC2822 in utc() test (#4312)
Ahmed Hassan [Sun, 17 Dec 2017 00:38:22 +0000 (19:38 -0500)]
[locale] Fix Arabic locale for months (#4271)
Dieter Sting [Sun, 17 Dec 2017 00:37:59 +0000 (01:37 +0100)]
[locale] set french weekdaysMin in lowercase (#4267)
Matthew Kendrick Co [Sun, 17 Dec 2017 00:37:43 +0000 (08:37 +0800)]
[bugfix] Fix incorrect strict parsing with full-width parentheses (#4240)
Jørn Ølmheim [Sun, 17 Dec 2017 00:37:23 +0000 (01:37 +0100)]
[locale] Russian LT/LTS: Updated time format in accordance with CLDR and www.timeandunits.com (#4210)
Jørn Ølmheim [Sun, 17 Dec 2017 00:37:02 +0000 (01:37 +0100)]
[locale] es-us: Updated time format in accordance with CLDR and www.timeandunits.com (#4209)
Jørn Ølmheim [Sun, 17 Dec 2017 00:29:44 +0000 (01:29 +0100)]
[locale] Fix 4189: Updated time separator for German-Swiss locale (#4200)
Huáng Jùnliàng [Sun, 17 Dec 2017 00:29:31 +0000 (08:29 +0800)]
[locale] Relative seconds i18n (#4183)
* locales ru, uk: added relative seconds
* feat(i18n): add relativeSeconds for zh-*
* feat(i18n): add relativeSeconds for en-*
* af
* ar
* az
* be
* add relativeSeconds for th
* add relativeSeconds for vi
* ar-dz
* change style
* bg
* bm
* bn
* add relativeSeconds for fr-*
* add relativeSeconds for de-*
* add relativeSeconds for es-*
* ja
* ms
* nl
* pt
* jv
* it
* ca
* cv
* cy
* da
* el
* eo
* eu
* lo
* my
* ta
* fix lo
* si
* sv
* fy
* gl
* gu
* hr
* hu
* id
* pl
* bs
* remove executable mode on pl.js
* fi
* lb
* lt
* lv
* me
* mi
* mk
* ml
* mr
* nb
* pa-in
* uz-latn
* te tet tl-ph tlh tr tzl tzm tzm-latn ur uz x-pseudo yo
* fix tzm
* et
* fa
* fo
* gd
* sd se si sk sl sq sr sr-cyrl ss sw
* mr ms-my ne nn
* kk km kn ky
* fix ro
* fix tlh
* fix tzl
* fix tlh ro
* gom-latn
* he
* is
* fix pl
* fix sw sr-cyrl sr
* fix nn
* fix sl
* fix sk
* hy-am
* hi
* gom-latn
* et
* fix sr
* dv
* fix sk
* ar-ly
* bo
* cs
* bs
* ar-kw
* ar-ma
* ar-tn
* ar-sa
* fix ar-dz
* br
* fix ka
* fix tl-ph
* fix az from CLDR
* fix bm from CLDR
* fix bs from CLDR
* fix cs from CLDR
* fix fo from CLDR
* fix gu from CLDR
* fix hr from CLDR
* fix ka from CLDR
* fix km from CLDR
* fix my from CLDR
* fix ne from CLDR
* fix sk from CLDR
* fix sr-cyrl from CLDR
* fix sr from CLDR
* fix te from CLDR
* fix style
Alessandro Maruccia [Sun, 17 Dec 2017 00:29:12 +0000 (01:29 +0100)]
[new locale] mt: Maltese language (#4143)
* Added maltese locale
* linted
* Added missing ss key to relative time
* Fixed git profile url
Ash [Sun, 17 Dec 2017 00:28:52 +0000 (00:28 +0000)]
[locale] it: Remove comma between weekday and date, fixes #4133 (#4134)
monkeycon [Sun, 17 Dec 2017 00:28:41 +0000 (01:28 +0100)]
[locale] zh-cn,zh-hk,zh-tw: Change date formats according to CLDR (#3952)
Tuan Nguyen [Sun, 17 Dec 2017 00:28:21 +0000 (11:28 +1100)]
[feature] add format constants to support output to HTML5 input type formats (see #3928) (#4154)
Kunal Marwaha [Mon, 11 Dec 2017 01:04:52 +0000 (20:04 -0500)]
Build 2.19.4
Kunal Marwaha [Mon, 11 Dec 2017 01:03:08 +0000 (20:03 -0500)]
Bump version to 2.19.4
Kunal Marwaha [Mon, 11 Dec 2017 01:02:44 +0000 (20:02 -0500)]
Update changelog for 2.19.4
xkxx [Mon, 11 Dec 2017 00:39:36 +0000 (16:39 -0800)]
[misc] Add 'ss' relative time key to typescript definition (#4246)
* Add 'ss' to typescript definition
* add missing ss key to MomentRelativetime
* add typing tests for new ss key
* correct whitespacing issues
Isaac Cambron [Mon, 11 Dec 2017 00:27:27 +0000 (19:27 -0500)]
[bugfix] Fix weekday verification for UTC and offset days (fixes #4227) (#4332)
* Verify utc date weekdays using local weekday
* add tests and change check
Ash [Mon, 11 Dec 2017 00:23:25 +0000 (00:23 +0000)]
[bugfix] Fix #4334: Remove unused function call argument (#4336)
Kunal Marwaha [Wed, 29 Nov 2017 16:10:14 +0000 (11:10 -0500)]
Build 2.19.3
Kunal Marwaha [Wed, 29 Nov 2017 16:06:08 +0000 (11:06 -0500)]
Bump version to 2.19.3
Kunal Marwaha [Wed, 29 Nov 2017 16:01:27 +0000 (11:01 -0500)]
Update changelog for 2.19.3
Craig Patik [Wed, 29 Nov 2017 15:41:54 +0000 (16:41 +0100)]
Fixed spelling and formatting for U.S. (#4289)
I believe this will fix the button near the bottom of https://momentjs.com. If not, feel free to delete this PR.
crackmigg [Wed, 29 Nov 2017 15:36:21 +0000 (16:36 +0100)]
[bugfix] Fix for ReDOS vulnerability (see #4163) (#4326)
* Limiting regex match to 256 chars, fixing #4163
* Limiting regex match to 256 chars, fixing #4163
* Also limiting numbers to fix #4163
Iskren Chernev [Sat, 11 Nov 2017 20:25:07 +0000 (22:25 +0200)]
Build 2.19.2
Iskren Chernev [Sat, 11 Nov 2017 20:21:17 +0000 (22:21 +0200)]
Bump version to 2.19.2
Iskren Chernev [Sat, 11 Nov 2017 20:19:34 +0000 (22:19 +0200)]
Update changelog for 2.19.2
Iskren Chernev [Sat, 11 Nov 2017 19:39:54 +0000 (21:39 +0200)]
Merge pull request #4242 from cmyers:develop
[bugfix] updateLocale now tries to load parent, fixes #3626
Chris Myers [Thu, 19 Oct 2017 23:02:54 +0000 (00:02 +0100)]
Added test and minor refactor
Chris Myers [Thu, 19 Oct 2017 20:16:43 +0000 (21:16 +0100)]
Fix #3626 further refactor
Chris Myers [Sat, 14 Oct 2017 23:28:34 +0000 (00:28 +0100)]
Fix #3626: updateLocale merge issue
Yann Pringault [Sat, 4 Nov 2017 14:37:49 +0000 (15:37 +0100)]
Fix year setter for random days in leap year (#4255)
Iskren Chernev [Wed, 11 Oct 2017 20:55:53 +0000 (23:55 +0300)]
Build 2.19.1
Iskren Chernev [Wed, 11 Oct 2017 20:54:05 +0000 (23:54 +0300)]
Bump version to 2.19.1
Iskren Chernev [Wed, 11 Oct 2017 20:53:53 +0000 (23:53 +0300)]
Update changelog for 2.19.1
Iskren Ivov Chernev [Wed, 11 Oct 2017 20:50:06 +0000 (23:50 +0300)]
Merge pull request #4232 from moment/maggie/fixBuild
revert locale fallbacks in require, re-add react native aliasing
Maggie Pint [Wed, 11 Oct 2017 14:53:49 +0000 (07:53 -0700)]
revert locale fallbacks in require, re-add react native aliasing
Iskren Chernev [Tue, 10 Oct 2017 23:21:38 +0000 (02:21 +0300)]
Merge pull request #4226 from ichernev:revert-package-json-es6
[critical] Revert "jsnext:main -> module (#3904)", fixes #4216
Iskren Chernev [Tue, 10 Oct 2017 23:18:37 +0000 (02:18 +0300)]
Revert "jsnext:main -> module (#3904)"
This reverts commit
aea6a97463521ebadae2f0c53536f36768ddee0d.
Iskren Chernev [Tue, 10 Oct 2017 22:28:08 +0000 (01:28 +0300)]
Merge pull request #4225 from ichernev:revert-require-rename
[critical] Revert require rename, fixes #4216
Iskren Chernev [Tue, 10 Oct 2017 22:24:39 +0000 (01:24 +0300)]
Revert "Rename dynamic require to avoid React Native crash"
This reverts commit
6a230ae3b574417945b9d7bf459e296eb2585935.
Iskren Chernev [Tue, 10 Oct 2017 08:22:33 +0000 (11:22 +0300)]
Revert "Move require rename inside try/catch"
This reverts commit
79e9131fdab17d0afe4211b068a353b2bb5749b5.
Iskren Chernev [Tue, 10 Oct 2017 09:33:37 +0000 (12:33 +0300)]
Build 2.19.0
Iskren Chernev [Tue, 10 Oct 2017 09:25:00 +0000 (12:25 +0300)]
Bump version to 2.19.0
Iskren Chernev [Tue, 10 Oct 2017 09:24:20 +0000 (12:24 +0300)]
Update changelog for 2.19.0
Iskren Chernev [Tue, 10 Oct 2017 09:07:44 +0000 (12:07 +0300)]
Merge pull request #4215 from ichernev:ts-duration-clone
[misc] TS: Add duration.clone(), for #4080
Iskren Chernev [Tue, 10 Oct 2017 09:05:10 +0000 (12:05 +0300)]
Add duration clone to TS
Iskren Chernev [Tue, 10 Oct 2017 08:30:16 +0000 (11:30 +0300)]
Merge pull request #4214 from ichernev:fixup-react-native-p2
[critical] Move require rename inside try/catch
Iskren Chernev [Tue, 10 Oct 2017 08:22:33 +0000 (11:22 +0300)]
Move require rename inside try/catch
Iskren Chernev [Tue, 10 Oct 2017 06:32:37 +0000 (09:32 +0300)]
Merge pull request #4213 from ichernev:fix-react-native
[critical] Rename dynamic require to avoid React Native crash
Iskren Chernev [Mon, 9 Oct 2017 23:16:08 +0000 (02:16 +0300)]
Rename dynamic require to avoid React Native crash
Iskren Chernev [Mon, 9 Oct 2017 23:01:34 +0000 (02:01 +0300)]
Merge pull request #4199 from Joddsson:fix-year-setter-for-leap-years
[bugfix] Fix year setter on leap years, fixes #4024
Ívar Oddsson [Tue, 3 Oct 2017 01:04:39 +0000 (01:04 +0000)]
Setting year from feb 29 on leap year to a non leap year returned mar 1.
Iskren Chernev [Mon, 9 Oct 2017 22:52:21 +0000 (01:52 +0300)]
Merge pull request #4131 from mikeparas:mismatch-weekday
[bugfix] Fix day-of-week validation, fixes #4112
Mike Paras [Sat, 19 Aug 2017 17:51:21 +0000 (10:51 -0700)]
Fix code style error
Mike Paras [Sat, 19 Aug 2017 17:43:22 +0000 (10:43 -0700)]
Update tests for mismatching weekday
* Add test to parsing_flags test module
* Reword assertion messages
Mike Paras [Sat, 19 Aug 2017 01:51:41 +0000 (18:51 -0700)]
Fix day-of-week validation (issue #4112)
* Check that day-of-week matches parsed date in configFromArray
* Add tests
Iskren Chernev [Mon, 9 Oct 2017 22:47:31 +0000 (01:47 +0300)]
Merge pull request #4062 from ashsearle:fix/3960
[bugfix] duration toString with mixed signs, fixes #3960
Ash Searle [Tue, 8 Aug 2017 08:30:19 +0000 (09:30 +0100)]
FFS
Ash Searle [Tue, 8 Aug 2017 08:19:32 +0000 (09:19 +0100)]
Use strict operator
Ash Searle [Tue, 8 Aug 2017 08:06:11 +0000 (09:06 +0100)]
Rewrite for clarity, and add more unit tests
Ash Searle [Tue, 8 Aug 2017 07:55:02 +0000 (08:55 +0100)]
Fix: Math.sign isn't supported by IE
Ash Searle [Tue, 11 Jul 2017 18:31:02 +0000 (19:31 +0100)]
Fix toString for durations with mixed sign
Isaac Cambron [Mon, 9 Oct 2017 22:32:26 +0000 (18:32 -0400)]
Merge pull request #4063 from ashsearle/fix/3997
[bugfix] Add duration fields in month, day, time order, fixes #3997
Isaac Cambron [Mon, 9 Oct 2017 22:31:38 +0000 (18:31 -0400)]
Merge pull request #4146 from ashsearle/fix/4145
Fix #4145: floating-point errors in ISO duration format
Ash Searle [Wed, 30 Aug 2017 08:02:22 +0000 (09:02 +0100)]
Reimplement fix: minimize and simplify change.
Ash Searle [Wed, 30 Aug 2017 07:53:41 +0000 (08:53 +0100)]
Fix v2: Some numbers still led to floating-point errors
Ash Searle [Tue, 29 Aug 2017 18:54:07 +0000 (19:54 +0100)]
Fix #4145: floating-point errors in ISO duration format
Iskren Chernev [Wed, 9 Aug 2017 12:31:19 +0000 (15:31 +0300)]
Merge pull request #4093 from JimiHFord:patch-1
[misc] Whitespace changes
Jimi Ford [Mon, 31 Jul 2017 18:35:21 +0000 (14:35 -0400)]
improve formatting
Iskren Chernev [Wed, 9 Aug 2017 12:29:12 +0000 (15:29 +0300)]
Merge pull request #4088 from keirog:develop
[misc] Fix typo in comment
Keith Rogers [Thu, 27 Jul 2017 23:38:40 +0000 (00:38 +0100)]
Add missing word to comment
Iskren Chernev [Wed, 9 Aug 2017 12:03:03 +0000 (15:03 +0300)]
Merge pull request #3839 from FourwingsY:develop
[locale] ko: Update ordinal format
FourwingsY [Tue, 8 Aug 2017 01:30:37 +0000 (10:30 +0900)]
ndo the changes to locale/ko.js
its autogenerated
FourwingsY [Thu, 3 Aug 2017 16:28:07 +0000 (01:28 +0900)]
fix ordinalMonth testing
FourwingsY [Thu, 3 Aug 2017 14:53:24 +0000 (23:53 +0900)]
update ko.js weekly ordering test
FourwingsY [Thu, 3 Aug 2017 14:52:34 +0000 (23:52 +0900)]
update src/locale/ko.js
양현석 [Wed, 15 Mar 2017 10:03:28 +0000 (19:03 +0900)]
update ordinal format in korean locale
almost copied from zh-cn.js
Iskren Chernev [Wed, 9 Aug 2017 11:58:46 +0000 (14:58 +0300)]
Merge pull request #3930 from kkopanidis:fix1
[locale] es-do: Update month parsing to be dot lenient, fixes #3629
Iskren Chernev [Wed, 9 Aug 2017 11:57:55 +0000 (14:57 +0300)]
Add strict parsing test for es-do
kostas [Thu, 18 May 2017 13:50:59 +0000 (16:50 +0300)]
- Changed test
kostas [Sun, 14 May 2017 14:28:47 +0000 (17:28 +0300)]
- Changed test
kostas [Tue, 9 May 2017 08:51:55 +0000 (11:51 +0300)]
Revert: - Fixing issue #3132
kostas [Tue, 9 May 2017 08:45:52 +0000 (11:45 +0300)]
- Fixing issue #3132
kostas [Wed, 26 Apr 2017 22:57:48 +0000 (01:57 +0300)]
- Fixing
Iskren Chernev [Wed, 9 Aug 2017 11:54:06 +0000 (14:54 +0300)]
Merge pull request #4108 from ichernev:fixup-rfc2822
[fixup] Fix RFC2822 rewrite, fixes #4077
Iskren Chernev [Wed, 9 Aug 2017 11:41:45 +0000 (14:41 +0300)]
Make jshint happy
Iskren Chernev [Mon, 7 Aug 2017 21:38:17 +0000 (00:38 +0300)]
Fix rfc2822 multiple issues
Iskren Chernev [Mon, 7 Aug 2017 19:21:02 +0000 (22:21 +0300)]
Merge pull request #4034 from ovangle:fix/4033
[misc] TS: Add specs & tests for moment.RFC_2822
Thomas Stephenson [Sat, 24 Jun 2017 13:56:53 +0000 (23:56 +1000)]
Add typescript declaration for moment.RFC_2822
Iskren Chernev [Mon, 7 Aug 2017 19:17:08 +0000 (22:17 +0300)]
Merge pull request #4042 from ovangle:fix-4031
[bugfix] Make auto locale loading for node not mess webpack, fixes #4031, #2979, #3872
Thomas Stephenson [Tue, 27 Jun 2017 12:36:07 +0000 (22:36 +1000)]
Fix #4031 - Missing ES6 module during tree shaking
Cannot import the locale relatively, since the code exists
in a different location in the bundled ES5 module than it
does in ES6.
In order to run tests locally (where the external 'moment'
library can't be loaded), fall back to using the relative import.
Iskren Chernev [Mon, 7 Aug 2017 19:13:54 +0000 (22:13 +0300)]
Merge pull request #4058 from waclawjacek:pl_next_week_day_declension
[locale] pl: Improve calendar for next week
Wacław Jacek [Tue, 11 Jul 2017 13:57:32 +0000 (15:57 +0200)]
Adding a fix for Polish next week day name declension.
Iskren Chernev [Mon, 7 Aug 2017 19:03:31 +0000 (22:03 +0300)]
Merge pull request #4079 from ashsearle:fix/4072
[bugfix] Use indexOf utility for IE8 compatibility, fixes #4072
Ash Searle [Fri, 21 Jul 2017 17:11:20 +0000 (18:11 +0100)]
Fix #4072: Use indexOf util for IE8 compatibility
Iskren Chernev [Mon, 7 Aug 2017 18:57:03 +0000 (21:57 +0300)]
Revert "Merge pull request #3848 from marwahaha:add-coveralls"
This reverts commit
7c3d1ea50174826ecbbfed652b93ba534a9ec03b, reversing
changes made to
759b4a4108a6519ed4411d6d670367b4aa156c75.
Iskren Chernev [Mon, 7 Aug 2017 18:53:42 +0000 (21:53 +0300)]
Merge pull request #4080 from ashsearle:fix/4078
[feature] Implement a clone method for durations, fixes #4078
Ash Searle [Wed, 26 Jul 2017 07:37:47 +0000 (08:37 +0100)]
Fix comment