]>
git.ipfire.org Git - thirdparty/moment.git/log
Kunal Marwaha [Fri, 28 Dec 2018 09:54:16 +0000 (01:54 -0800)]
Set specific rollup version
Kunal Marwaha [Thu, 13 Dec 2018 06:39:15 +0000 (22:39 -0800)]
Build 2.23.0
Kunal Marwaha [Thu, 13 Dec 2018 06:38:00 +0000 (22:38 -0800)]
Bump version to 2.23.0
Kunal Marwaha [Thu, 13 Dec 2018 06:37:03 +0000 (22:37 -0800)]
Update changelog for 2.23.0
Kunal Marwaha [Thu, 13 Dec 2018 06:13:25 +0000 (22:13 -0800)]
[misc] run `npm audit fix` (#4903)
acutexyz [Thu, 13 Dec 2018 05:53:56 +0000 (07:53 +0200)]
[locale] ky: Fix spelling typos (#4894)
Ash [Thu, 13 Dec 2018 05:15:31 +0000 (05:15 +0000)]
[bugfix] isBetween should return false for invalid dates (#4417)
* [bugfix]: isBetween should return false for invalid dates
* Tweak to use void not null for TS 1.x
* Add tests requested in code review
Ash [Thu, 13 Dec 2018 05:12:16 +0000 (05:12 +0000)]
[feature] Fix #4518: Add support to add/subtract ISO weeks (#4563)
Ash [Thu, 13 Dec 2018 05:05:25 +0000 (05:05 +0000)]
[bugfix] Fix #4698: Use ISO WeekYear for HTML5_FMT.WEEK (#4700)
* [bugfix] Fix #4698: Use ISO WeekYear for HTML5_FMT.WEEK
* [bugfix] Fix #4698: Added regression tests
Guo Xiang Tan [Thu, 13 Dec 2018 04:42:07 +0000 (12:42 +0800)]
[misc] Fix typo in pa-in locale (#4768)
* Fix typos.
* Only touch src/ file
Shahram M. Hassan [Thu, 13 Dec 2018 04:33:30 +0000 (07:33 +0300)]
[new locale] added Kurdish language (ku) (#4863)
* add Kurdish language locale (ku)
* clean up and fixed some linte error
* Revert changes to package-lock.json
Grey Baker [Thu, 13 Dec 2018 04:08:17 +0000 (04:08 +0000)]
[misc] Add SemVer compatibility badge to README (#4674)
Kunal Marwaha [Thu, 13 Dec 2018 04:02:30 +0000 (20:02 -0800)]
[misc] Update issue templates (#4661)
* Update issue templates
* Remove old issue template
Roy [Wed, 31 Oct 2018 03:55:29 +0000 (04:55 +0100)]
[locale] (nl) order months correctly in regex (#4810)
Josh Soref [Wed, 31 Oct 2018 03:30:31 +0000 (23:30 -0400)]
[locale] fix comment about "doy" (#4671)
* fix date of year comments
* [locale] fix date of year comments
Andres Kalle [Wed, 31 Oct 2018 03:28:05 +0000 (05:28 +0200)]
[misc] add typings for duration.isValid() (#4681)
Ash [Wed, 31 Oct 2018 03:18:54 +0000 (03:18 +0000)]
[misc] Remove unnecessary ternary spotted by Coverity (#4663)
Ioannis Cherouvim [Wed, 31 Oct 2018 03:16:09 +0000 (05:16 +0200)]
[misc] minor typo in comments (#4817)
* minor typo in comments
* only update file in src/
* only update file in src/
Kunal Marwaha [Wed, 31 Oct 2018 02:57:34 +0000 (22:57 -0400)]
[misc] Upgrade some devDeps to fix vulnerabilities (#4828)
* Upgrade some devDeps to fix vulnerabilities
* Bump coveralls version
* Bump nyc version
* Bump down nyc version to pass tests on node 5
* Force npm 3 if Travis installs npm 2
* Change equalTest output to roman characters
* Update package-lock
* Comment out broken tests
Kunal Marwaha [Fri, 1 Jun 2018 06:45:43 +0000 (23:45 -0700)]
Build 2.22.2
Kunal Marwaha [Fri, 1 Jun 2018 06:44:21 +0000 (23:44 -0700)]
Bump version to 2.22.2
Kunal Marwaha [Fri, 1 Jun 2018 06:43:56 +0000 (23:43 -0700)]
Update changelog for 2.22.2
Kunal Marwaha [Fri, 1 Jun 2018 06:32:44 +0000 (23:32 -0700)]
[misc] Fix grunt devDep to 3.5.2 (#4648)
Olivier G [Fri, 1 Jun 2018 05:47:06 +0000 (07:47 +0200)]
[misc] Typo in test (#4610)
All tests using Feb 29th are labelled as Feb 28th.
Ash [Fri, 1 Jun 2018 05:40:30 +0000 (06:40 +0100)]
[bugfix] Avoid using trim() (#4564)
Ash [Sun, 29 Apr 2018 20:42:28 +0000 (21:42 +0100)]
[locale] Fix #4568: Insert punjabi for "next" (#4583)
Maxime Guerreiro [Tue, 24 Apr 2018 23:56:56 +0000 (01:56 +0200)]
[misc] Fix "the the" typo in test (#4578)
SobakaSlava [Tue, 24 Apr 2018 23:54:54 +0000 (02:54 +0300)]
[locale] Fix wrong calendar() output in 'be' localisation (#4528)
* Fix wrong calendar() output in 'be' localisation
* Add one specific belarusian letter
* Add a test
* Fix linter errors
Kunal Marwaha [Tue, 17 Apr 2018 20:28:35 +0000 (12:28 -0800)]
[locale] az: Fix typo in seconds (#4527)
* [locale] az: Improve relative time for seconds
in src/test/locale/az.js
* [locale] az: Improve relative time for seconds
I hope this time I'm doing it right
Caleb Cauthon [Sun, 15 Apr 2018 06:09:18 +0000 (01:09 -0500)]
[bugfix] Treat periods as periods, not regex-anything period, for weekday parsing in strict mode. (#4453)
* Treat periods in short weekdays as literal periods when in strict mode with exact parsing turned off
* Add tests for the other 2 areas where periods were treated improperly, and organize the tests
* Remove trailing commas
* Follow styling standards
Kunal Marwaha [Sun, 15 Apr 2018 05:53:50 +0000 (22:53 -0700)]
Build 2.22.1
Kunal Marwaha [Sun, 15 Apr 2018 05:52:33 +0000 (22:52 -0700)]
Bump version to 2.22.1
Kunal Marwaha [Sun, 15 Apr 2018 05:52:15 +0000 (22:52 -0700)]
Update changelog for 2.22.1
Martin Dreher [Sun, 15 Apr 2018 05:35:39 +0000 (07:35 +0200)]
[misc] fix typo in comment for day-of-month.js (#4551)
Horus68 [Wed, 11 Apr 2018 08:15:43 +0000 (09:15 +0100)]
[locale] pt: Fix capital letters in weekdays (#3989)
* Typo fixing capital letter for weekedays
In Portuguese (Portugal) weekdays can only have one capital letter. So its Segunda-feira not Segunda-Feira
* pt: Fix capital letters in weekdays
pt: Fix capital letters in weekdays
* Fix conflicting file
* small fix
* fix
* Revert test
Kunal Marwaha [Mon, 9 Apr 2018 09:39:31 +0000 (01:39 -0800)]
[misc] Add coveralls testing to travis build (#3848)
* Add coveralls testing to travis build
* Increase maxBlockDuration so coveralls can run
Zach Whitesel [Wed, 4 Apr 2018 06:57:00 +0000 (02:57 -0400)]
[bugfix] Added HTML5_FMT to moment.d.ts (#4495)
* Added HTML5_FMT to moment.d.ts
* Update Moment.d.ts styling for HTML5_FMT
Kunal Marwaha [Tue, 3 Apr 2018 21:10:39 +0000 (14:10 -0700)]
[misc] upgrade qunit to latest (#4525)
* Reduce number of changes
* Remove QUnit as global
Kunal Marwaha [Mon, 2 Apr 2018 07:23:33 +0000 (00:23 -0700)]
[locale] ug-cn: put abbr in lowercase (#4478)
Bari Badamshin [Mon, 2 Apr 2018 07:00:20 +0000 (10:00 +0300)]
[locale] ru: added a comma to the calendar displays time (#4492)
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.
[![Open Source Helpers](https://www.codetriage.com/moment/moment/badges/users.svg)](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:
- [![Email clients like GMAIL do not render SVG images](https://www.codetriage.com/rails/rails/badges/users.svg)](https://www.codetriage.com/rails/rails) https://github.com/rails/rails
- [![Email clients like GMAIL do not render SVG images](https://www.codetriage.com/crystal-lang/crystal/badges/users.svg)](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