]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
5 years agoRun prettier fmt ka-tests 5536/head
Kunal Marwaha [Sun, 17 May 2020 11:18:04 +0000 (04:18 -0700)] 
Run prettier fmt

5 years agoRe-enable ka tests
Kunal Marwaha [Wed, 13 May 2020 04:29:49 +0000 (21:29 -0700)] 
Re-enable ka tests

5 years ago[tests] Use eslint 6.x to fix travis builds (#5543) moment-timezone-0.5.30
Kunal Marwaha [Sun, 17 May 2020 11:09:54 +0000 (04:09 -0700)] 
[tests] Use eslint 6.x to fix travis builds (#5543)

5 years agoBuild 2.25.3 2.25.3
Iskren Chernev [Mon, 4 May 2020 15:09:59 +0000 (18:09 +0300)] 
Build 2.25.3

5 years agoBump version to 2.25.3
Iskren Chernev [Mon, 4 May 2020 15:07:55 +0000 (18:07 +0300)] 
Bump version to 2.25.3

5 years agoUpdate changelog for 2.25.3
Iskren Chernev [Mon, 4 May 2020 15:07:34 +0000 (18:07 +0300)] 
Update changelog for 2.25.3

5 years ago[pkg] Remove module property as it is causing issues with webpack
Iskren Chernev [Mon, 4 May 2020 15:08:27 +0000 (18:08 +0300)] 
[pkg] Remove module property as it is causing issues with webpack

5 years agoBuild 2.25.2 2.25.2
Iskren Chernev [Mon, 4 May 2020 12:22:58 +0000 (15:22 +0300)] 
Build 2.25.2

5 years agoBump version to 2.25.2
Iskren Chernev [Mon, 4 May 2020 12:21:57 +0000 (15:21 +0300)] 
Bump version to 2.25.2

5 years agoUpdate changelog for 2.25.2
Iskren Chernev [Mon, 4 May 2020 12:21:32 +0000 (15:21 +0300)] 
Update changelog for 2.25.2

5 years ago[pkg] Include dist/ folder in npm package
Iskren Chernev [Mon, 4 May 2020 12:23:29 +0000 (15:23 +0300)] 
[pkg] Include dist/ folder in npm package

5 years ago[pkg] Publish bundled esm under dist/
Iskren Chernev [Mon, 4 May 2020 12:14:59 +0000 (15:14 +0300)] 
[pkg] Publish bundled esm under dist/

5 years ago[locale] el: Remove dependency to util
Iskren Chernev [Mon, 4 May 2020 12:09:43 +0000 (15:09 +0300)] 
[locale] el: Remove dependency to util

5 years agoBuild 2.25.1 2.25.1
Iskren Chernev [Fri, 1 May 2020 18:44:34 +0000 (21:44 +0300)] 
Build 2.25.1

5 years agoBump version to 2.25.1
Iskren Chernev [Fri, 1 May 2020 18:43:13 +0000 (21:43 +0300)] 
Bump version to 2.25.1

5 years agoUpdate changelog for 2.25.1
Iskren Chernev [Fri, 1 May 2020 18:42:55 +0000 (21:42 +0300)] 
Update changelog for 2.25.1

5 years ago[misc] Build es bundle (unused for now)
Iskren Chernev [Fri, 1 May 2020 18:32:18 +0000 (21:32 +0300)] 
[misc] Build es bundle (unused for now)

5 years ago[bugfix] Revert changes made for #5269 due to webpack warnings
Iskren Chernev [Fri, 1 May 2020 18:31:27 +0000 (21:31 +0300)] 
[bugfix] Revert changes made for #5269 due to webpack warnings

5 years ago[locale] fil: Fix metadata comment
Iskren Chernev [Fri, 1 May 2020 13:08:28 +0000 (16:08 +0300)] 
[locale] fil: Fix metadata comment

5 years ago[bugfix] Fix incorrect typeof checks, fixes #5483
Iskren Chernev [Fri, 1 May 2020 13:07:16 +0000 (16:07 +0300)] 
[bugfix] Fix incorrect typeof checks, fixes #5483

5 years ago[pkg] Include ts3.1-typings in npm package
Iskren Chernev [Fri, 1 May 2020 13:03:43 +0000 (16:03 +0300)] 
[pkg] Include ts3.1-typings in npm package

5 years ago[misc] Remove old generated locale file
Iskren Chernev [Fri, 1 May 2020 13:01:56 +0000 (16:01 +0300)] 
[misc] Remove old generated locale file

5 years agoRemove non-existing file from nuspec bundle
Iskren Chernev [Fri, 1 May 2020 13:00:40 +0000 (16:00 +0300)] 
Remove non-existing file from nuspec bundle

5 years agoBuild 2.25.0 2.25.0
Iskren Chernev [Fri, 1 May 2020 01:06:33 +0000 (04:06 +0300)] 
Build 2.25.0

5 years agoBump version to 2.25.0
Iskren Chernev [Fri, 1 May 2020 01:04:57 +0000 (04:04 +0300)] 
Bump version to 2.25.0

5 years agoUpdate changelog for 2.25.0
Iskren Chernev [Fri, 1 May 2020 01:03:52 +0000 (04:03 +0300)] 
Update changelog for 2.25.0

5 years ago[misc] Remove non ES5 code to fix uglify
Iskren Chernev [Fri, 1 May 2020 00:29:27 +0000 (03:29 +0300)] 
[misc] Remove non ES5 code to fix uglify

5 years ago[locale] ja: Define the last day of 'Heisei' Era (#5476)
Takuya Sawada [Thu, 30 Apr 2020 23:55:46 +0000 (08:55 +0900)] 
[locale] ja: Define the last day of 'Heisei' Era (#5476)

5 years ago[bugfix] Fix humanize api (#5477)
Iskren Ivov Chernev [Thu, 30 Apr 2020 20:09:42 +0000 (23:09 +0300)] 
[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.

5 years ago[misc] ts: Update moment.d.ts with 2.25.0 changes
Iskren Chernev [Thu, 30 Apr 2020 19:15:43 +0000 (22:15 +0300)] 
[misc] ts: Update moment.d.ts with 2.25.0 changes

5 years ago[feature] Add isoWeeksInISOWeekYear (#5475)
Iskren Ivov Chernev [Wed, 29 Apr 2020 22:39:27 +0000 (01:39 +0300)] 
[feature] Add isoWeeksInISOWeekYear (#5475)

5 years ago[bugfix] Fix the escape problem of analytic regex (#4631)
Alanscut [Wed, 29 Apr 2020 01:20:09 +0000 (09:20 +0800)] 
[bugfix] Fix the escape problem of analytic regex (#4631)

5 years ago[locale] ja: Add new 'Reiwa' Era (#5471)
Takuya Sawada [Wed, 29 Apr 2020 21:48:05 +0000 (06:48 +0900)] 
[locale] ja: Add new 'Reiwa' Era (#5471)

* [locale] ja: Add new 'Reiwa' Era

* Apply coding convention

5 years agoMerge pull request #4717 from asenousy:end-of-month-diff-bugs
Iskren Chernev [Wed, 29 Apr 2020 15:58:00 +0000 (18:58 +0300)] 
Merge pull request #4717 from asenousy:end-of-month-diff-bugs

[bugfix] More predictable month diffs at end-of-month

5 years agoUse month with bigger date first when computing month diffs
Iskren Chernev [Wed, 29 Apr 2020 15:56:37 +0000 (18:56 +0300)] 
Use month with bigger date first when computing month diffs

5 years ago[bugfix] end of months diff bugs
Ahmed Elsenousi [Wed, 25 Jul 2018 17:06:21 +0000 (18:06 +0100)] 
[bugfix] end of months diff bugs

5 years ago[bugfix] isoWeeksInYear was modifying the source object (#5474)
Iskren Ivov Chernev [Wed, 29 Apr 2020 15:20:04 +0000 (18:20 +0300)] 
[bugfix] isoWeeksInYear was modifying the source object (#5474)

5 years agoMerge pull request #4746 from sowmyav24:develop
Iskren Chernev [Wed, 29 Apr 2020 14:54:43 +0000 (17:54 +0300)] 
Merge pull request #4746 from sowmyav24:develop

[feature] Add weeksInWeekYear to return the weeks in a given week year (fixes #3942)

5 years agoImprove tests, implementation of weeksInWeekYear
Iskren Chernev [Wed, 29 Apr 2020 14:54:11 +0000 (17:54 +0300)] 
Improve tests, implementation of weeksInWeekYear

5 years ago[feature] Add weeksInWeekYear, fixes #3942
Sowmya Viswanathan [Thu, 23 Aug 2018 07:40:26 +0000 (13:10 +0530)] 
[feature] Add weeksInWeekYear, fixes #3942

5 years ago[new locale] fil: Filipino, copied from tl-ph
Iskren Chernev [Wed, 29 Apr 2020 14:18:21 +0000 (17:18 +0300)] 
[new locale] fil: Filipino, copied from tl-ph

5 years agoRemove console.log from ts3 typing tests
Iskren Chernev [Wed, 29 Apr 2020 14:12:11 +0000 (17:12 +0300)] 
Remove console.log from ts3 typing tests

5 years agoChange prettier args to work on Windows as well
Iskren Chernev [Tue, 28 Apr 2020 19:14:50 +0000 (22:14 +0300)] 
Change prettier args to work on Windows as well

5 years agoMove important comments when transpiling
Iskren Chernev [Tue, 28 Apr 2020 18:51:26 +0000 (21:51 +0300)] 
Move important comments when transpiling

5 years agoUse latest dev deps, fix transpile for latest rollup
Iskren Chernev [Tue, 28 Apr 2020 18:35:09 +0000 (21:35 +0300)] 
Use latest dev deps, fix transpile for latest rollup

5 years agoRemove npx
Iskren Chernev [Tue, 28 Apr 2020 18:17:08 +0000 (21:17 +0300)] 
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

5 years agoRemove spacejam dependency and related meteor-test
Iskren Chernev [Tue, 28 Apr 2020 18:16:27 +0000 (21:16 +0300)] 
Remove spacejam dependency and related meteor-test

5 years agoRemove jshint/jscs remaining references
Iskren Chernev [Tue, 28 Apr 2020 17:53:27 +0000 (20:53 +0300)] 
Remove jshint/jscs remaining references

5 years ago[locale] vi: Bring back original locale author
Iskren Chernev [Tue, 28 Apr 2020 15:29:13 +0000 (18:29 +0300)] 
[locale] vi: Bring back original locale author

Removed by accident in d0f0dd8f

5 years ago[bugfix] Set name when updating non-existent locale (#5470)
Iskren Ivov Chernev [Mon, 27 Apr 2020 17:40:18 +0000 (20:40 +0300)] 
[bugfix] Set name when updating non-existent locale (#5470)

Fixes #5043

5 years agoMerge pull request #4825 from Manfre98:develop
Iskren Chernev [Mon, 27 Apr 2020 16:24:18 +0000 (19:24 +0300)] 
Merge pull request #4825 from Manfre98:develop

[locale] it: Improve relative time

5 years ago[locale] it: Improve relative time
Manfre98 [Sat, 20 Oct 2018 17:49:31 +0000 (19:49 +0200)] 
[locale] it: Improve relative time

5 years agoMerge pull request #4824 from GuilhermeDiasJ:patch-1
Iskren Chernev [Mon, 27 Apr 2020 16:08:34 +0000 (19:08 +0300)] 
Merge pull request #4824 from GuilhermeDiasJ:patch-1

[locale] pt-br: Lowercase weekday names

5 years ago[locale] pt-br: Lowercase weekdays
Guilherme [Sat, 20 Oct 2018 16:21:18 +0000 (13:21 -0300)] 
[locale] pt-br: Lowercase weekdays

5 years agoMerge pull request #5076 from WikiDiscoverer:createGomDeva
Iskren Chernev [Mon, 27 Apr 2020 15:55:04 +0000 (18:55 +0300)] 
Merge pull request #5076 from WikiDiscoverer:createGomDeva

[new locale] gom-deva: Add Konkani Devanagari script

5 years ago[new locale] gom-deva: Add Konkani Devanagari
WikiDiscoverer [Sat, 13 Apr 2019 20:58:26 +0000 (02:28 +0530)] 
[new locale] gom-deva: Add Konkani Devanagari

5 years agoMerge pull request #4832 from joelmheim:fix-2754-handle-strict-parse
Iskren Chernev [Mon, 27 Apr 2020 13:59:54 +0000 (16:59 +0300)] 
Merge pull request #4832 from joelmheim:fix-2754-handle-strict-parse

[tests] Add strict parsing month name tests for all locales

5 years ago[tests] Added strict parsing month name tests for all locales.
Jørn Ølmheim [Tue, 23 Oct 2018 08:18:01 +0000 (10:18 +0200)] 
[tests] Added strict parsing month name tests for all locales.

Commented out all failing tests to be fixed later.

5 years agoMerge pull request #4695 from JLHwung:locale-zh-cn-relative-time-future
Iskren Chernev [Mon, 27 Apr 2020 02:39:46 +0000 (05:39 +0300)] 
Merge pull request #4695 from JLHwung:locale-zh-cn-relative-time-future

[locale] zh: align relativeTime.future to CLDR 33

5 years ago[locale] zh: align relativeTime.future to CLDR 33
Huáng Jùnliàng [Tue, 10 Jul 2018 05:27:38 +0000 (13:27 +0800)] 
[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

5 years agoMerge pull request #4611 from thorn0:parse-without-fallback-2469
Iskren Chernev [Mon, 27 Apr 2020 00:28:09 +0000 (03:28 +0300)] 
Merge pull request #4611 from thorn0:parse-without-fallback-2469

[feature] Support for strict formatless parsing

5 years ago[feature] Support for `moment(String, true)`
Georgii Dolzhykov [Fri, 4 May 2018 16:16:21 +0000 (19:16 +0300)] 
[feature] Support for `moment(String, true)`

Closes #2469

5 years agoMerge pull request #4599 from eternalharvest:feature/era_names
Iskren Chernev [Mon, 27 Apr 2020 00:11:29 +0000 (03:11 +0300)] 
Merge pull request #4599 from eternalharvest:feature/era_names

[feature] Add era support for en,ja (closes #4591)

5 years ago[feature] Add support for eras in en and jp
Caleb Cauthon [Sun, 15 Apr 2018 06:09:18 +0000 (01:09 -0500)] 
[feature] Add support for eras in en and jp

5 years agoMerge pull request #4589 from jayarjo:fix-ka-relativeTime
Iskren Chernev [Sun, 26 Apr 2020 23:42:04 +0000 (02:42 +0300)] 
Merge pull request #4589 from jayarjo:fix-ka-relativeTime

[locale] ka: Improvements to relativeTime

5 years ago[locale] ka: fix future relativeTime altering unrelated strings
Davit Barbakadze [Tue, 24 Apr 2018 15:05:30 +0000 (19:05 +0400)] 
[locale] ka: fix future relativeTime altering unrelated strings

5 years agoMerge pull request #4561 from ashsearle:fix/4476
Iskren Chernev [Sun, 26 Apr 2020 23:32:20 +0000 (02:32 +0300)] 
Merge pull request #4561 from ashsearle:fix/4476

[bugfix] Avoid memory leak in updateLocale

5 years ago[bugfix] Avoid memory leak in updateLocale
Ash Searle [Sun, 15 Apr 2018 10:40:42 +0000 (11:40 +0100)] 
[bugfix] Avoid memory leak in updateLocale

5 years agoMerge branch 'eslint-prettier' into develop (#5462)
Iskren Chernev [Sun, 26 Apr 2020 23:21:53 +0000 (02:21 +0300)] 
Merge branch 'eslint-prettier' into develop (#5462)

5 years agoActually run prettier everywhere eslint-prettier 5462/head
Iskren Chernev [Sun, 26 Apr 2020 01:41:29 +0000 (04:41 +0300)] 
Actually run prettier everywhere

5 years agoRun prettier --write
Iskren Chernev [Sun, 26 Apr 2020 01:11:45 +0000 (04:11 +0300)] 
Run prettier --write

5 years agoFix eslint issues
Iskren Chernev [Sun, 26 Apr 2020 00:19:45 +0000 (03:19 +0300)] 
Fix eslint issues

5 years agoAdd eslint, prettier
Iskren Chernev [Sun, 26 Apr 2020 00:19:37 +0000 (03:19 +0300)] 
Add eslint, prettier

5 years agoMerge pull request #4433 from ZachGawlik:string-input-duration
Iskren Chernev [Sat, 25 Apr 2020 22:44:49 +0000 (01:44 +0300)] 
Merge pull request #4433 from ZachGawlik:string-input-duration

[feature] Support strings repr numbers in duration constructor

5 years ago[feature] Add support for creating duration from numeric string
Zach Gawlik [Sat, 3 Feb 2018 22:31:19 +0000 (17:31 -0500)] 
[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

5 years ago[bugfix] Use ISO Year for weeksInISOYear instead of calendar year. (#4410)
Alex Mitchell [Sat, 25 Apr 2020 22:30:25 +0000 (17:30 -0500)] 
[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

5 years ago[locale] bo: Improvements (#4368)
Huáng Jùnliàng [Sat, 25 Apr 2020 22:29:02 +0000 (18:29 -0400)] 
[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

5 years agoMerge pull request #4296 from TedDriggs:develop
Iskren Chernev [Sat, 25 Apr 2020 22:20:51 +0000 (01:20 +0300)] 
Merge pull request #4296 from TedDriggs:develop

[feature] Accept custom relative thresholds in duration.humanize

5 years ago[feature] Accept custom relative thresholds in duration.humanize
Ted Driggs [Wed, 8 Nov 2017 17:56:31 +0000 (09:56 -0800)] 
[feature] Accept custom relative thresholds in duration.humanize

Fixes #4295

5 years ago[feature] Support relative weeks (#5461)
Iskren Ivov Chernev [Sat, 25 Apr 2020 22:11:04 +0000 (01:11 +0300)] 
[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.

5 years agoRevert "Merge pull request #4910 from nanomosfet:add-weeks-to-relative"
Iskren Chernev [Sat, 25 Apr 2020 21:42:34 +0000 (00:42 +0300)] 
Revert "Merge pull request #4910 from nanomosfet:add-weeks-to-relative"

This reverts commit 9bd2dc74209ec21c327aa2af6620e3d2dd3ae4b6, reversing
changes made to ed6fd040527d0a81b86695f898ac0b6e6f479295.

5 years ago[bugfix] Force four digits in Y token (#3846)
Kunal Marwaha [Sat, 25 Apr 2020 20:50:48 +0000 (13:50 -0700)] 
[bugfix] Force four digits in Y token (#3846)

5 years ago[bugfix] Properly fallback to base locales in array getter (#5459)
Iskren Ivov Chernev [Sat, 25 Apr 2020 20:41:27 +0000 (23:41 +0300)] 
[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

5 years ago[feature] Calendar function handles formats only arg (#3666)
Joe [Sat, 25 Apr 2020 20:04:33 +0000 (16:04 -0400)] 
[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

5 years ago[bugfix] Support ISO 8601 YYYYMM format (#5458)
Iskren Ivov Chernev [Sat, 25 Apr 2020 19:58:44 +0000 (22:58 +0300)] 
[bugfix] Support ISO 8601 YYYYMM format (#5458)

5 years ago[feature] add support for [YYYY] as ISO8601 format (#4470)
Max Edinarkhov [Sat, 25 Apr 2020 19:18:37 +0000 (07:18 +1200)] 
[feature] add support for [YYYY] as ISO8601 format (#4470)

* [feature] add support for [YYYY] as ISO8601 format (issue #3918) (#4470)

* [feature] add support for [YYYY] as ISO8601 format (issue #3918) (#4470)

revert support for extended years [+/-YYYYYY], it needs more discussion and work

5 years agoMerge pull request #4873 from ktomi42:develop
Iskren Chernev [Sat, 25 Apr 2020 18:11:09 +0000 (21:11 +0300)] 
Merge pull request #4873 from ktomi42:develop

[locale] hr: Improve relative time for Wed, Sun

5 years ago[locale] hr: Improvements on relative time
Kristijan Tomić [Sat, 24 Nov 2018 12:53:58 +0000 (13:53 +0100)] 
[locale] hr: Improvements on relative time

5 years ago[misc] Fix ts3.1 tests, reenable them in pipeline
Iskren Chernev [Sat, 25 Apr 2020 18:00:43 +0000 (21:00 +0300)] 
[misc] Fix ts3.1 tests, reenable them in pipeline

5 years agoMerge pull request #4883 from OjasM:develop
Iskren Chernev [Fri, 24 Apr 2020 21:10:17 +0000 (00:10 +0300)] 
Merge pull request #4883 from OjasM:develop

[bugfix] Invalid duration gets valid when wrapping/cloning (#4323)

5 years ago[bugfix] Clone/wrapper of invalid duration should be invalid (#4323)
Ojas [Wed, 5 Dec 2018 06:55:36 +0000 (12:25 +0530)] 
[bugfix] Clone/wrapper of invalid duration should be invalid (#4323)

5 years agoMerge pull request #4910 from nanomosfet:add-weeks-to-relative
Iskren Chernev [Fri, 24 Apr 2020 20:57:40 +0000 (23:57 +0300)] 
Merge pull request #4910 from nanomosfet:add-weeks-to-relative

[feature] Add week as unit for relative time calc

5 years agoAdd week relative time threshold
Iskren Chernev [Fri, 24 Apr 2020 20:57:14 +0000 (23:57 +0300)] 
Add week relative time threshold

5 years ago[feature] Add week as possible relative time unit
Tim [Thu, 13 Dec 2018 07:11:29 +0000 (23:11 -0800)] 
[feature] Add week as possible relative time unit

5 years agoMerge pull request #5133 from brgrz:develop
Iskren Chernev [Fri, 24 Apr 2020 20:35:40 +0000 (23:35 +0300)] 
Merge pull request #5133 from brgrz:develop

[locale] sl: Fix date format

5 years ago[locale] sl: Improve date format
Marko Hrovatic [Wed, 5 Jun 2019 09:05:21 +0000 (11:05 +0200)] 
[locale] sl: Improve date format

5 years ago[locale] eo: Multiple corrections (#5457)
Colin Dean [Fri, 24 Apr 2020 20:14:43 +0000 (16:14 -0400)] 
[locale] eo: Multiple corrections (#5457)

* [locale] eo: Fixes some expressions

Line 12: adding the letter "t" for the months "marto" and "septembro" to distinguish them from "mardo" (=tuesday) and "sep" (=seven)
Lines 20, 21, 22, 38 and 40: correction of some date expressions in which accusative is needed.
Line 46: adding the word "kelkaj" (=some), because "post sekundoj" and "antaŭ sekundoj" don't really make sense.
Lines 48, 50, 52, 54 and 56: adding the word "unu" (=one) because it's about the quantity "1", and not about an indefinite thing.

* [locale] eo: Fixes tests to match new expressions

Adding the letter "t" for the months "marto" and "septembro" to distinguish them from "mardo" (=tuesday) and "sep" (=seven)
Correction of some expressions in which accusative is needed.
Adding the word "kelkaj" (=some), because "post sekundoj" and "antaŭ sekundoj" don't really make sense.
Adding the word "unu" (=one) because it's about the quantity "1", and not about an indefinite thing introduced by the article a/an.

* [locale] eo: Fixes some typos in tests

* [locale] eo: Drops accusative -n from short day name in llll format

Co-authored-by: Vivakvo <ybachimont@esperanto.org>
5 years ago[locale] ar-ma: Fix a typo in monday (#5427)
Kafil [Fri, 24 Apr 2020 19:40:31 +0000 (19:40 +0000)] 
[locale] ar-ma: Fix a typo in monday (#5427)

5 years agoRevert "[locale] sk: Improve future tense (#5206)"
Iskren Chernev [Fri, 24 Apr 2020 18:55:42 +0000 (21:55 +0300)] 
Revert "[locale] sk: Improve future tense (#5206)"

This reverts commit 2e3388171450f39ed4799123737f7aed4addec8e.

Based on https://github.com/moment/moment/pull/5409#issuecomment-618482801

5 years ago[locale] sv: Improve ordinals (#5445)
Per Enström [Fri, 24 Apr 2020 18:47:11 +0000 (20:47 +0200)] 
[locale] sv: Improve ordinals (#5445)

* [locale] Correct Swedish ordinals

Moment is currently formatting Swedish ordinals incorrectly. Added colon between number and ordinal character.

Sources:
* https://learningswedish.se/courses/1/pages/ordinal-numbers
* http://swedishbitz.com/ordinal-numbers/

* Update Swedish ordinal tests

* Revert "[locale] Correct Swedish ordinals"

This reverts commit f5aa499d75effd5153b571fd616633f7a9e715cd.

* Update swedish ordinals, in correct file