]>
git.ipfire.org Git - thirdparty/moment.git/log
Kunal Marwaha [Fri, 30 Mar 2018 21:53:58 +0000 (14:53 -0700)]
Build 2.22.0
Kunal Marwaha [Fri, 30 Mar 2018 21:50:50 +0000 (14:50 -0700)]
Bump version to 2.22.0
Kunal Marwaha [Fri, 30 Mar 2018 21:49:15 +0000 (14:49 -0700)]
Update changelog for 2.22.0
Kunal Marwaha [Mon, 5 Mar 2018 08:13:23 +0000 (00:13 -0800)]
[misc] Add .ts defn for parseTwoDigitYear (#4378)
Adam [Mon, 5 Mar 2018 07:36:39 +0000 (15:36 +0800)]
[locale] zh-tw: add spaces (#4430)
Properly add spaces between CJK characters and alphanumerics character and in calendar time format.
README Bot [Mon, 5 Mar 2018 07:34:49 +0000 (01:34 -0600)]
[misc] Add CodeTriage badge to moment/moment (#4455)
Adds a badge showing the number of people helping this repo on CodeTriage.
[](https://www.codetriage.com/moment/moment)
## What is CodeTriage?
CodeTriage is an Open Source app that is designed to make contributing to Open Source projects easier. It works by sending subscribers a few open issues in their inbox. If subscribers get busy, there is an algorithm that backs off issue load so they do not get overwhelmed
[Read more about the CodeTriage project](https://www.codetriage.com/what).
## Why am I getting this PR?
Your project was picked by the human, @schneems. They selected it from the projects submitted to https://www.codetriage.com and hand edited the PR. How did your project get added to [CodeTriage](https://www.codetriage.com/what)? Roughly about 1 year ago, [sarupbanskota](https://github.com/sarupbanskota) added this project to CodeTriage in order to start contributing. Since then, 34 people have subscribed to help this repo.
## What does adding a badge accomplish?
Adding a badge invites people to help contribute to your project. It also lets developers know that others are invested in the longterm success and maintainability of the project.
You can see an example of a CodeTriage badge on these popular OSS READMEs:
- [](https://www.codetriage.com/rails/rails) https://github.com/rails/rails
- [](https://www.codetriage.com/crystal-lang/crystal) https://github.com/crystal-lang/crystal
## Have a question or comment?
While I am a bot, this PR was manually reviewed and monitored by a human - @schneems. My job is writing commit messages and handling PR logistics.
If you have any questions, you can reply back to this PR and they will be answered by @schneems. If you do not want a badge right now, no worries, close the PR, you will not hear from me again.
Thanks for making your project Open Source! Any feedback is greatly appreciated.
Chang Wang [Mon, 5 Mar 2018 07:33:59 +0000 (02:33 -0500)]
[misc] Update downloads badge to point to graph of downloads (#4463)
Tornike Razmadze [Mon, 5 Mar 2018 07:30:39 +0000 (11:30 +0400)]
[locale] Georgian - fixed incorrectly used word (#4458)
Kruy Vanna [Sun, 4 Mar 2018 07:28:29 +0000 (14:28 +0700)]
[locale] Cambodian Locale: Translate AM/PM, change weekdaysShort and weekdaysMin (#4392)
* translated am/pm
* change weekdaysShort, and weekdaysMin
* fix missing semi colons
* fix more missing semi colons
* fix missing spaces
* add Khmer script number and use ordinal
* fix trailing white space
Atsushi Tanaka [Sun, 4 Mar 2018 07:26:02 +0000 (16:26 +0900)]
[locale] Fix Japanese locale (#4413)
* Fix calendar format for Japanese
* Fix format string for Japanese
WikiDiscoverer [Sun, 4 Mar 2018 07:20:05 +0000 (08:20 +0100)]
[locale] Correct Hour Plural in Konkani and add a test (#4395)
* Correct Hour Plural
* Add test for 'hours ago'
Javkhlantugs Nyamdorj [Sun, 4 Mar 2018 06:29:07 +0000 (14:29 +0800)]
[new locale] Added Mongolian locale mn (#4423)
James Harries [Sun, 4 Mar 2018 06:14:26 +0000 (06:14 +0000)]
[misc] Make comment in hour.js gender neutral (#4446)
Kunal Marwaha [Fri, 2 Mar 2018 20:37:47 +0000 (12:37 -0800)]
Build 2.21.0
Kunal Marwaha [Fri, 2 Mar 2018 20:36:42 +0000 (12:36 -0800)]
Bump version to 2.21.0
Kunal Marwaha [Fri, 2 Mar 2018 20:35:47 +0000 (12:35 -0800)]
Update changelog for 2.21.0
Kunal Marwaha [Fri, 2 Mar 2018 20:28:55 +0000 (12:28 -0800)]
[misc] Fix lazy-load test (#4466)
Ash [Fri, 2 Mar 2018 19:02:59 +0000 (19:02 +0000)]
[bugfix] Fix #4390: use offset properly in toISOString (#4391)
Kunal Marwaha [Fri, 2 Mar 2018 19:02:13 +0000 (11:02 -0800)]
[locale] ko: Add trailing dot to L and l (#4379)
* Add trailing dot to L and l
* Add tests
Alim Boyaq [Fri, 2 Mar 2018 19:01:18 +0000 (01:01 +0600)]
[new locale] ug-cn: Added locale ug-cn (#4372)
* added uyghur language
* fixed a silly bug
Alan Agius [Fri, 2 Mar 2018 19:01:04 +0000 (20:01 +0100)]
[bugfix] remove `ordinal` for `Turkish` locale as they use `cardin… (#4361)
* bugfix: local remove `ordinal` for `Turkish` locale as they use `cardinal` days
Closes: #4122
* restore ordinals
Ash [Fri, 2 Mar 2018 19:00:36 +0000 (19:00 +0000)]
[bugfix] Correct min/max TypeScript signatures (#4360)
* Fix #4316: Update TypeScript signatures
* Add min & max typescript tests
* Add overload signatures
Yoav Amit [Fri, 2 Mar 2018 19:00:14 +0000 (21:00 +0200)]
[new locale] Added locale en-ilֿ (#4335)
Chris Myers [Fri, 2 Mar 2018 18:59:25 +0000 (18:59 +0000)]
[bugfix] Fix #3883 lazy load parentLocale in defineLocale, fallback to global if missing (#4310)
* Fix #3883 defineLocale lazy load parentLocale
* Fix #3883 fallback to globalLocale if parentLocale can't be loaded,
added test
* Fix #3883 lazy load parentLocale test
Eduardo Dalla Vecchia [Fri, 2 Mar 2018 18:57:57 +0000 (15:57 -0300)]
[locale] pt-br: Simplify pt-br past relativeTime (#4195)
du [Fri, 2 Mar 2018 18:56:20 +0000 (02:56 +0800)]
[locale] id: Fix short name for august in id locale (#4184)
* Update id.js
* Revert "Update id.js"
This reverts commit
587f6049c8990b9f5231975e03974a80a08875f4 .
* change id.js
MOHAN M U [Fri, 2 Mar 2018 18:55:49 +0000 (00:25 +0530)]
[locale] kn: Improve short months (#4140)
* Update kn.js
* tests for kannada
* test for kannada
Joshua Brooks [Fri, 2 Mar 2018 18:55:37 +0000 (03:55 +0900)]
[locale] tet: Improvements for month and weekday names (#4101)
* Update tet.js
* Update tet.js
* Update tet.js
* Tests and date names for tet
asulaiman [Fri, 2 Mar 2018 18:54:40 +0000 (13:54 -0500)]
[misc] Print console warning when setting non-existent locales (#4085)
* Dont silently fail setting new locale when it isnt available
Right now if the new locale being set is not available then it fails silently and just uses the existing global locale. A console warning would be useful to notify the user of such a failure.
* added missing semicolon
* Added console warn check.
* Fixed if condition.
* Add space
Orif N. Jr [Fri, 2 Mar 2018 18:53:43 +0000 (19:53 +0100)]
[new locale] tg: Tajik (Tajikistan) locale (#3896)
* add Tajik (cyrillic) language
* fix comment
* add updates
* add meridem and ordinal
* fix suffixes
* change weekdays to lowercase
* move locale file
* enhance code style
* add tests for 'tg' locale
* fix test issues
* fix test issues
* add Tajik (cyrillic) language
* fix comment
* add updates
* add meridem and ordinal
* fix suffixes
* change weekdays to lowercase
* move locale file
* enhance code style
* add tests for 'tg' locale
* fix test issues
* fix test issues
* correct meridiem calculations
* correct "tg" unit tests
* fix words ending
* extend meridiem tests
* remove isPM part
* separate meridiem units around 12
* correct meridiem
* code refactoring
* change test value
* adapt meridiemHour
* change back
* fix error
* update component.json
Huáng Jùnliàng [Thu, 28 Dec 2017 22:33:52 +0000 (06:33 +0800)]
[misc] fix deprecated rollup options (#4371)
* fix(rollup): fix deprecated rollup options
* chore(travis): test against on node 8
Kunal Marwaha [Tue, 19 Dec 2017 04:36:30 +0000 (23:36 -0500)]
Build 2.20.1
Kunal Marwaha [Tue, 19 Dec 2017 04:35:17 +0000 (23:35 -0500)]
Bump version to 2.20.1
Kunal Marwaha [Tue, 19 Dec 2017 04:33:56 +0000 (23:33 -0500)]
Update changelog for 2.20.1
Kunal Marwaha [Tue, 19 Dec 2017 04:25:39 +0000 (23:25 -0500)]
[locale] Fix Arabic locale for months (again) (#4359)
* [locale] Fix Arabic locale for months (again)
* Fix tests
* Fix the rest of the tests
blahDL [Tue, 19 Dec 2017 04:23:14 +0000 (14:23 +1000)]
[misc] Add optional parameter keepOffset to toISOString (#4357)
Update the typescript definition file to include the optional parameter keepOffset which was introduced in 2.20.0
Kunal Marwaha [Sun, 17 Dec 2017 01:09:05 +0000 (20:09 -0500)]
Build 2.20.0
Kunal Marwaha [Sun, 17 Dec 2017 01:08:11 +0000 (20:08 -0500)]
Bump version to 2.20.0
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