]>
git.ipfire.org Git - thirdparty/moment.git/log
Kunal Marwaha [Sat, 19 Jan 2019 09:51:45 +0000 (01:51 -0800)]
[locale] (es-us) long date is D [de] MMMM [de] YYYY
Shiwani [Sat, 19 Jan 2019 02:38:58 +0000 (08:08 +0530)]
[bugfix] (TypeScript) allow update of a single relativeTime handler
Cassiano Montanari [Sat, 19 Jan 2019 02:30:42 +0000 (00:30 -0200)]
[locale] Capitalization of pt month names (#4557)
* Updated pt-br tests
* Update pt-br.js
* Update pt-br.js
* Updated PT tests
* Updated pt-js month names capitalization
Cassiano Montanari [Sat, 19 Jan 2019 02:25:10 +0000 (00:25 -0200)]
[locale] Capitalization pt-br month names and tests (#4558)
* Updated capitalization of months
* Updated capitalization of month names
Takuya Sawada [Sat, 19 Jan 2019 02:11:07 +0000 (11:11 +0900)]
[locale] ja: fix long month names (#4590)
* Fix "the the" typo in test (#4578)
* [locale] ja: fix long month names
Ash [Sat, 19 Jan 2019 02:09:44 +0000 (02:09 +0000)]
[bugfix] Fix startOf/endOf DST issues while boosting performance (#4338)
* Fix startOf/endOf DST issues
* Performance improvements
* Rewrite for legibility
* Fix for years in range 0-99
* Remove placeholder comments
* Revert comment
* Remove useless special-case
* Code review change: use break consistenly
* Rename per code review
* Fix typo
* Inline variable to end naming debate
* Address review comments
Kunal Marwaha [Fri, 18 Jan 2019 04:47:18 +0000 (20:47 -0800)]
[locale] es-us: Update month parsing to be dot lenient (#4377)
* [locale] es-us: Update month parsing to be dot lenient, fixes #4162
* Add test from #4162
* add @chrisrodz from #4415
Kunal Marwaha [Fri, 18 Jan 2019 04:39:00 +0000 (20:39 -0800)]
[locale] te: Fix typo in july (#4544)
Martin McWhorter [Fri, 18 Jan 2019 03:11:56 +0000 (03:11 +0000)]
[bugfix] locale/en-ie.js date format (#4849)
* Update locale/en-ie.js
Correct to en-IE date locale to match the ICU definition: http://www.localeplanet.com/icu/en-IE/index.html
* Revert to orgininal
* Update unit test
Fabio [Fri, 18 Jan 2019 03:10:56 +0000 (04:10 +0100)]
[new locale] Adding Italian (Swiss) it-ch (#4875)
Artem Roshko [Fri, 18 Jan 2019 03:10:13 +0000 (08:10 +0500)]
[bugfix] Make Duration#as work with quarters (#4887)
Timothy Z Searcy [Fri, 18 Jan 2019 03:08:52 +0000 (19:08 -0800)]
[tests] relative time threshold doesn't work for multiple (#4913)
* [bugfix] relative time threshold doesn't work for multiple
* return humanize to normal
André Silva [Fri, 18 Jan 2019 03:07:31 +0000 (03:07 +0000)]
[new locale] Adding Irish language (ga) (#4930)
* Added Irish locale
* Added the unit testing for ga locale.
* Added some more tests to ga locale.
* Finished the unit tests for ga locale.
* Added the header in the locale file
* Removed locale from forbidden folder. Sorry
:q!
Matthew Castrillon - Madrigal [Fri, 18 Jan 2019 03:05:51 +0000 (03:05 +0000)]
[new locale] Added support for en-SG (Singapore) (#4951)
* en-SG locale. English (Singapore) language supported
* grunt tests pass for new en-SG locale
WikiDiscoverer [Thu, 17 Jan 2019 10:43:10 +0000 (16:13 +0530)]
[locale] Update hour to standard dialect for gom-latn (#4936)
* Update hour to standard dialect
* Update gom-latn.js
Timothy Z Searcy [Thu, 17 Jan 2019 10:25:02 +0000 (02:25 -0800)]
[bugfix] pipeline breaks with rollup v0.68 (#4912)
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)