4c7dd2b | Kunal Marwaha | 20 May 2020, 08:19:08 UTC | Make dot optional | 20 May 2020, 08:19:08 UTC |
785b24f | Kunal Marwaha | 20 May 2020, 08:18:10 UTC | Add test | 20 May 2020, 08:18:10 UTC |
a0f3c74 | Kunal Marwaha | 20 May 2020, 06:42:01 UTC | Build 2.26.0 | 20 May 2020, 06:42:01 UTC |
baa798f | Kunal Marwaha | 20 May 2020, 06:41:10 UTC | Bump version to 2.26.0 | 20 May 2020, 06:41:10 UTC |
e0ceae0 | Kunal Marwaha | 20 May 2020, 06:40:45 UTC | Update changelog for 2.26.0 | 20 May 2020, 06:40:45 UTC |
6152124 | Alan Wang | 20 May 2020, 06:29:31 UTC | [tests] Get TS tests working on Windows with cross-env (#5519) | 20 May 2020, 06:29:31 UTC |
4d0f390 | Ulion | 20 May 2020, 05:55:31 UTC | [locale] zh-cn: Improve next/prev week (#5447) | 20 May 2020, 05:55:31 UTC |
74210cd | Eugene | 20 May 2020, 05:47:58 UTC | [locale] ru: simplify regex Only `[ \ ^ $ . | ? * + ( )` need to be escaped, so remove redundant `\` before `]`. | 20 May 2020, 05:47:58 UTC |
315abe8 | Chamie | 20 May 2020, 00:02:50 UTC | [locale] br: Add meridiem translation and correct quotemark (#5433) | 20 May 2020, 00:02:50 UTC |
22bf4ca | Zindev | 19 May 2020, 13:30:11 UTC | [locale] tr: Add meridiem support (#4701) | 19 May 2020, 13:30:11 UTC |
e3baef9 | Vigneshwarr S | 19 May 2020, 12:28:23 UTC | [locale] en-au: Sunday is first day of week (#5264) | 19 May 2020, 12:28:23 UTC |
04b275c | Kumar Harsh | 19 May 2020, 11:43:54 UTC | [locale] Fix Indian week start date and week number (#5502) | 19 May 2020, 11:43:54 UTC |
3c97ac5 | Amine27 | 19 May 2020, 11:40:14 UTC | [locale] (ar-dz) improve translation (#5523) | 19 May 2020, 11:40:14 UTC |
c3f2828 | Alan Wang | 19 May 2020, 11:01:35 UTC | [bugfix] isoWeeksInISOWeekYear in moment.d.ts (#5548) | 19 May 2020, 11:01:35 UTC |
78fa472 | Arno Gau | 19 May 2020, 10:57:42 UTC | [bugfix] Add 'w' to supported time units (#5526) Add 'w' to supported time unit | 19 May 2020, 10:59:23 UTC |
d2c3164 | Fahad Kassim | 19 May 2020, 10:45:08 UTC | [locale] (sw) Improve Translation (#5546) * [locale] (sw) Improve Translation It appears that "masiku" does not usually have a plural , going back to "siku" , Other propositions from https://github.com/moment/moment/pull/5544 sounds a bit nice and native, But, sadly we cannot have them since they are likely to change on future Relative Time , so it is better if they stay that way * [locale] (sw) Improve Translation In Tests This is so that the Travis CI builds https://github.com/moment/moment/pull/5546/commits | 19 May 2020, 10:45:08 UTC |
571caa0 | Max | 19 May 2020, 10:44:34 UTC | [locale] id: Sunday changed to first day of week (#5551) | 19 May 2020, 10:44:34 UTC |
2259e43 | Alan Wang | 18 May 2020, 04:24:56 UTC | [bugfix] Update the type definition of the humanize() API, fix compilation error (#5525) | 18 May 2020, 04:24:56 UTC |
de98cc4 | Kunal Marwaha | 17 May 2020, 11:09:54 UTC | [tests] Use eslint 6.x to fix travis builds (#5543) | 17 May 2020, 11:09:54 UTC |
1872bb2 | Iskren Chernev | 04 May 2020, 15:09:59 UTC | Build 2.25.3 | 04 May 2020, 15:09:59 UTC |
82db022 | Iskren Chernev | 04 May 2020, 15:07:55 UTC | Bump version to 2.25.3 | 04 May 2020, 15:08:38 UTC |
46e4e44 | Iskren Chernev | 04 May 2020, 15:07:34 UTC | Update changelog for 2.25.3 | 04 May 2020, 15:08:38 UTC |
0c709ba | Iskren Chernev | 04 May 2020, 15:08:27 UTC | [pkg] Remove module property as it is causing issues with webpack | 04 May 2020, 15:08:38 UTC |
4c1cc80 | Iskren Chernev | 04 May 2020, 12:22:58 UTC | Build 2.25.2 | 04 May 2020, 12:23:44 UTC |
a5461fc | Iskren Chernev | 04 May 2020, 12:21:57 UTC | Bump version to 2.25.2 | 04 May 2020, 12:23:44 UTC |
97ad928 | Iskren Chernev | 04 May 2020, 12:21:32 UTC | Update changelog for 2.25.2 | 04 May 2020, 12:23:44 UTC |
d1ef14e | Iskren Chernev | 04 May 2020, 12:23:29 UTC | [pkg] Include dist/ folder in npm package | 04 May 2020, 12:23:44 UTC |
87994b7 | Iskren Chernev | 04 May 2020, 12:14:59 UTC | [pkg] Publish bundled esm under dist/ | 04 May 2020, 12:14:59 UTC |
7977aeb | Iskren Chernev | 04 May 2020, 12:09:43 UTC | [locale] el: Remove dependency to util | 04 May 2020, 12:10:58 UTC |
475a1e0 | Iskren Chernev | 01 May 2020, 18:44:34 UTC | Build 2.25.1 | 01 May 2020, 18:44:34 UTC |
1434958 | Iskren Chernev | 01 May 2020, 18:43:13 UTC | Bump version to 2.25.1 | 01 May 2020, 18:43:13 UTC |
ab05f4e | Iskren Chernev | 01 May 2020, 18:42:55 UTC | Update changelog for 2.25.1 | 01 May 2020, 18:42:55 UTC |
3bfb450 | Iskren Chernev | 01 May 2020, 18:32:18 UTC | [misc] Build es bundle (unused for now) | 01 May 2020, 18:32:18 UTC |
2e26863 | Iskren Chernev | 01 May 2020, 18:31:27 UTC | [bugfix] Revert changes made for #5269 due to webpack warnings | 01 May 2020, 18:31:27 UTC |
226799e | Iskren Chernev | 01 May 2020, 13:08:28 UTC | [locale] fil: Fix metadata comment | 01 May 2020, 13:08:28 UTC |
1a83a52 | Iskren Chernev | 01 May 2020, 13:07:16 UTC | [bugfix] Fix incorrect typeof checks, fixes #5483 | 01 May 2020, 13:07:16 UTC |
6e32433 | Iskren Chernev | 01 May 2020, 13:03:43 UTC | [pkg] Include ts3.1-typings in npm package | 01 May 2020, 13:03:43 UTC |
728cc23 | Iskren Chernev | 01 May 2020, 13:01:56 UTC | [misc] Remove old generated locale file | 01 May 2020, 13:01:56 UTC |
6928292 | Iskren Chernev | 01 May 2020, 13:00:40 UTC | Remove non-existing file from nuspec bundle | 01 May 2020, 13:00:40 UTC |
36a817d | Iskren Chernev | 01 May 2020, 01:06:33 UTC | Build 2.25.0 | 01 May 2020, 01:06:33 UTC |
1eef2ab | Iskren Chernev | 01 May 2020, 01:04:57 UTC | Bump version to 2.25.0 | 01 May 2020, 01:04:57 UTC |
1d8b73e | Iskren Chernev | 01 May 2020, 01:03:52 UTC | Update changelog for 2.25.0 | 01 May 2020, 01:03:52 UTC |
fbb287f | Iskren Chernev | 01 May 2020, 00:29:27 UTC | [misc] Remove non ES5 code to fix uglify | 01 May 2020, 00:29:27 UTC |
f98d5a2 | Takuya Sawada | 30 April 2020, 23:55:46 UTC | [locale] ja: Define the last day of 'Heisei' Era (#5476) | 30 April 2020, 23:55:46 UTC |
5a87154 | Iskren Ivov Chernev | 30 April 2020, 20:09:42 UTC | [bugfix] Fix humanize api (#5477) Humanize API was changed in PR 4296 to support an options argument which contained both suffix and thresholds. No other moment API contains such an options object. So this change just splits suffix and thresholds into two different arguments, allowing for arbitrary order. | 30 April 2020, 20:09:42 UTC |
535a725 | Iskren Chernev | 30 April 2020, 19:15:43 UTC | [misc] ts: Update moment.d.ts with 2.25.0 changes | 30 April 2020, 19:15:43 UTC |
d8e613b | Iskren Ivov Chernev | 29 April 2020, 22:39:27 UTC | [feature] Add isoWeeksInISOWeekYear (#5475) | 29 April 2020, 22:39:27 UTC |
64a46b3 | Alanscut | 29 April 2020, 01:20:09 UTC | [bugfix] Fix the escape problem of analytic regex (#4631) | 29 April 2020, 21:54:17 UTC |
709579a | Takuya Sawada | 29 April 2020, 21:48:05 UTC | [locale] ja: Add new 'Reiwa' Era (#5471) * [locale] ja: Add new 'Reiwa' Era * Apply coding convention | 29 April 2020, 21:48:05 UTC |
813eb32 | Iskren Chernev | 29 April 2020, 15:58:00 UTC | Merge pull request #4717 from asenousy:end-of-month-diff-bugs [bugfix] More predictable month diffs at end-of-month | 29 April 2020, 15:58:00 UTC |
a63b46a | Iskren Chernev | 29 April 2020, 15:56:37 UTC | Use month with bigger date first when computing month diffs | 29 April 2020, 15:56:37 UTC |
e5bbb46 | Ahmed Elsenousi | 25 July 2018, 17:06:21 UTC | [bugfix] end of months diff bugs | 29 April 2020, 15:36:43 UTC |
c78af30 | Iskren Ivov Chernev | 29 April 2020, 15:20:04 UTC | [bugfix] isoWeeksInYear was modifying the source object (#5474) | 29 April 2020, 15:20:04 UTC |
86fa351 | Iskren Chernev | 29 April 2020, 14:54:43 UTC | Merge pull request #4746 from sowmyav24:develop [feature] Add weeksInWeekYear to return the weeks in a given week year (fixes #3942) | 29 April 2020, 14:54:43 UTC |
264445c | Iskren Chernev | 29 April 2020, 14:54:11 UTC | Improve tests, implementation of weeksInWeekYear | 29 April 2020, 14:54:11 UTC |
e0e21cd | Sowmya Viswanathan | 23 August 2018, 07:40:26 UTC | [feature] Add weeksInWeekYear, fixes #3942 | 29 April 2020, 14:36:54 UTC |
a585cb6 | Iskren Chernev | 29 April 2020, 14:18:21 UTC | [new locale] fil: Filipino, copied from tl-ph | 29 April 2020, 14:18:21 UTC |
7741ad3 | Iskren Chernev | 29 April 2020, 14:12:11 UTC | Remove console.log from ts3 typing tests | 29 April 2020, 14:12:11 UTC |
f9e42d2 | Iskren Chernev | 28 April 2020, 19:14:50 UTC | Change prettier args to work on Windows as well | 28 April 2020, 19:14:50 UTC |
ebea0cb | Iskren Chernev | 28 April 2020, 18:51:26 UTC | Move important comments when transpiling | 28 April 2020, 18:51:26 UTC |
a5a8ee6 | Iskren Chernev | 28 April 2020, 18:35:09 UTC | Use latest dev deps, fix transpile for latest rollup | 28 April 2020, 18:35:09 UTC |
d854f47 | Iskren Chernev | 28 April 2020, 18:17:08 UTC | Remove npx npx was used to run a different version of typescript. * install typescript3 via npm aliases * update runscripts from npx to node_modules/*/bin/tcs | 28 April 2020, 18:17:14 UTC |
afa6663 | Iskren Chernev | 28 April 2020, 18:16:27 UTC | Remove spacejam dependency and related meteor-test | 28 April 2020, 18:16:27 UTC |
b739324 | Iskren Chernev | 28 April 2020, 17:53:27 UTC | Remove jshint/jscs remaining references | 28 April 2020, 17:53:27 UTC |
5064837 | Iskren Chernev | 28 April 2020, 15:29:13 UTC | [locale] vi: Bring back original locale author Removed by accident in d0f0dd8f | 28 April 2020, 15:29:13 UTC |
1021c01 | Iskren Ivov Chernev | 27 April 2020, 17:40:18 UTC | [bugfix] Set name when updating non-existent locale (#5470) Fixes #5043 | 27 April 2020, 17:40:18 UTC |
b162aee | Iskren Chernev | 27 April 2020, 16:24:18 UTC | Merge pull request #4825 from Manfre98:develop [locale] it: Improve relative time | 27 April 2020, 16:24:18 UTC |
3cdb879 | Manfre98 | 20 October 2018, 17:49:31 UTC | [locale] it: Improve relative time | 27 April 2020, 16:23:21 UTC |
144e394 | Iskren Chernev | 27 April 2020, 16:08:34 UTC | Merge pull request #4824 from GuilhermeDiasJ:patch-1 [locale] pt-br: Lowercase weekday names | 27 April 2020, 16:08:34 UTC |
c92f756 | Guilherme | 20 October 2018, 16:21:18 UTC | [locale] pt-br: Lowercase weekdays | 27 April 2020, 16:07:18 UTC |
849f5c0 | Iskren Chernev | 27 April 2020, 15:55:04 UTC | Merge pull request #5076 from WikiDiscoverer:createGomDeva [new locale] gom-deva: Add Konkani Devanagari script | 27 April 2020, 15:55:04 UTC |
79fc3a9 | WikiDiscoverer | 13 April 2019, 20:58:26 UTC | [new locale] gom-deva: Add Konkani Devanagari | 27 April 2020, 15:53:24 UTC |
e0d031f | Iskren Chernev | 27 April 2020, 13:59:54 UTC | Merge pull request #4832 from joelmheim:fix-2754-handle-strict-parse [tests] Add strict parsing month name tests for all locales | 27 April 2020, 13:59:54 UTC |
bd8e5ce | Jørn Ølmheim | 23 October 2018, 08:18:01 UTC | [tests] Added strict parsing month name tests for all locales. Commented out all failing tests to be fixed later. | 27 April 2020, 13:58:53 UTC |
c5225f8 | Iskren Chernev | 27 April 2020, 02:39:46 UTC | Merge pull request #4695 from JLHwung:locale-zh-cn-relative-time-future [locale] zh: align relativeTime.future to CLDR 33 | 27 April 2020, 02:39:46 UTC |
4fe0eeb | Huáng Jùnliàng | 10 July 2018, 05:27:38 UTC | [locale] zh: align relativeTime.future to CLDR 33 see `future-other` section of https://www.unicode.org/cldr/charts/33/by_type/date_&_time.fields.html | 27 April 2020, 02:39:19 UTC |
022dc03 | Iskren Chernev | 27 April 2020, 00:28:09 UTC | Merge pull request #4611 from thorn0:parse-without-fallback-2469 [feature] Support for strict formatless parsing | 27 April 2020, 00:28:09 UTC |
6486033 | Georgii Dolzhykov | 04 May 2018, 16:16:21 UTC | [feature] Support for `moment(String, true)` Closes #2469 | 27 April 2020, 00:27:37 UTC |
4b615b9 | Iskren Chernev | 27 April 2020, 00:11:29 UTC | Merge pull request #4599 from eternalharvest:feature/era_names [feature] Add era support for en,ja (closes #4591) | 27 April 2020, 00:11:29 UTC |
0c7d8da | Caleb Cauthon | 15 April 2018, 06:09:18 UTC | [feature] Add support for eras in en and jp | 27 April 2020, 00:11:10 UTC |
647dbd2 | Iskren Chernev | 26 April 2020, 23:42:04 UTC | Merge pull request #4589 from jayarjo:fix-ka-relativeTime [locale] ka: Improvements to relativeTime | 26 April 2020, 23:42:04 UTC |
3038826 | Davit Barbakadze | 24 April 2018, 15:05:30 UTC | [locale] ka: fix future relativeTime altering unrelated strings | 26 April 2020, 23:41:39 UTC |
ccd55f9 | Iskren Chernev | 26 April 2020, 23:32:20 UTC | Merge pull request #4561 from ashsearle:fix/4476 [bugfix] Avoid memory leak in updateLocale | 26 April 2020, 23:32:20 UTC |
e360fb4 | Ash Searle | 15 April 2018, 10:40:42 UTC | [bugfix] Avoid memory leak in updateLocale | 26 April 2020, 23:32:01 UTC |
dca02ed | Iskren Chernev | 26 April 2020, 23:21:53 UTC | Merge branch 'eslint-prettier' into develop (#5462) | 26 April 2020, 23:21:53 UTC |
a9bdd42 | Iskren Chernev | 26 April 2020, 01:41:29 UTC | Actually run prettier everywhere | 26 April 2020, 23:14:39 UTC |
38fe036 | Iskren Chernev | 26 April 2020, 01:11:45 UTC | Run prettier --write | 26 April 2020, 23:14:38 UTC |
54ecdd9 | Iskren Chernev | 26 April 2020, 00:19:45 UTC | Fix eslint issues | 26 April 2020, 23:14:38 UTC |
9fe4c79 | Iskren Chernev | 26 April 2020, 00:19:37 UTC | Add eslint, prettier | 26 April 2020, 23:14:38 UTC |
94edb2e | Iskren Chernev | 25 April 2020, 22:44:49 UTC | Merge pull request #4433 from ZachGawlik:string-input-duration [feature] Support strings repr numbers in duration constructor | 25 April 2020, 22:44:49 UTC |
a021ade | Zach Gawlik | 03 February 2018, 22:31:19 UTC | [feature] Add support for creating duration from numeric string Similar to other moment methods, a string representing a number is (unfortunately) supported. This change adds support in duration constructor. moment.duration('5') # 5 milliseconds moment.duration('5', 'seconds') # 5 seconds | 25 April 2020, 22:39:34 UTC |
ebfd8da | Alex Mitchell | 25 April 2020, 22:30:25 UTC | [bugfix] Use ISO Year for weeksInISOYear instead of calendar year. (#4410) * Use calendar year of day at end of week for ISO year week count * Fix ambiguously constructed test moments * Add some spacing | 25 April 2020, 22:30:25 UTC |
4f8a1a1 | Huáng Jùnliàng | 25 April 2020, 22:29:02 UTC | [locale] bo: Improvements (#4368) * fix(bo): align monthsShort with CLDR monthsShort is aligned to calendar type=“gregorian” => months => monthContext => monthWidth type="abbreviated" * fix(bo): align weekdaysMin with CLDR weekdaysMin is aligned to calendar type=“gregorian” => days => dayContext => dayWidth type=“narrow” * test(bo): fix broken test | 25 April 2020, 22:29:02 UTC |
757d4ff | Iskren Chernev | 25 April 2020, 22:20:51 UTC | Merge pull request #4296 from TedDriggs:develop [feature] Accept custom relative thresholds in duration.humanize | 25 April 2020, 22:20:51 UTC |
a26ea03 | Ted Driggs | 08 November 2017, 17:56:31 UTC | [feature] Accept custom relative thresholds in duration.humanize Fixes #4295 | 25 April 2020, 22:17:06 UTC |
7165c2d | Iskren Ivov Chernev | 25 April 2020, 22:11:04 UTC | [feature] Support relative weeks (#5461) This patch adds support for relative time in the form '%d weeks'. It is by default disabled. To enable it set relativeTimeThreshold for 'w' to a number (like 4), and optionally lower the 'd' threshold (like 7), so anything >= 7 days is considered a week, and 4 weeks are considered a month. | 25 April 2020, 22:11:04 UTC |
8058876 | Iskren Chernev | 25 April 2020, 21:42:34 UTC | Revert "Merge pull request #4910 from nanomosfet:add-weeks-to-relative" This reverts commit 9bd2dc74209ec21c327aa2af6620e3d2dd3ae4b6, reversing changes made to ed6fd040527d0a81b86695f898ac0b6e6f479295. | 25 April 2020, 21:42:34 UTC |
831cfd6 | Kunal Marwaha | 25 April 2020, 20:50:48 UTC | [bugfix] Force four digits in Y token (#3846) | 25 April 2020, 20:50:48 UTC |
4dfb749 | Iskren Ivov Chernev | 25 April 2020, 20:41:27 UTC | [bugfix] Properly fallback to base locales in array getter (#5459) It looks like the existing implementation of this feature was pretty well thought out and correct, the problem was that a compareArray function was used which was comparing arrays in a rather bizzare fashion that was not in line with what a "normal person" would expect. So now the array comparator is correct, and the logic works properly. The logic works as follows -- the next locale is picked and tried as-is. If that fails, the code normally tries to chop the last bit (normally the country designation) and try again. However, if the next array element has the same or longer prefix as the one to be tried, the iteration continues. So for example if the array has the sequence "AA-BB", "AA-CC", "XX-YY" then first "AA-BB" is tried, then a naive solution would try "AA", but this one instead checks to see that "AA-CC" is actually more concrete than "AA", so it tries "AA-CC" next, and only after it fails (if it fails) it tries "AA", because "XX-YY" does not have "AA" as prefix. So in the end the following locales are tried in this order (assuming all fail so the next one is tried): "AA-BB", "AA-CC", "AA", "XX-YY", "XX" Fixes #4780 | 25 April 2020, 20:41:27 UTC |
8eb71ae | Joe | 25 April 2020, 20:04:33 UTC | [feature] Calendar function handles formats only arg (#3666) * Issue no. 3658 adding overload for single parameter to calendar function Corrected the formatting on calendarjs unit test file Corrected autoformatting * Removed trailing space... * fixed comment per request * added helper utils for better type and property checking, updated calendar functionality to properly identify time and formats inputs. added a bunch of unit tests | 25 April 2020, 20:04:33 UTC |