]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
8 years agoDay of week updated.
Nusret Parlak [Mon, 27 Feb 2017 11:42:54 +0000 (13:42 +0200)] 
Day of week updated.

Day of week updated.

8 years agoAr-Kw(Kuwait) Language Package Added .
nusretparlak [Mon, 27 Feb 2017 06:38:46 +0000 (08:38 +0200)] 
Ar-Kw(Kuwait) Language Package Added .

Ar-Kw(Kuwait) Language Package Added .

8 years agoMerge pull request #3786 from netguru:develop
Iskren Chernev [Sat, 11 Mar 2017 22:46:30 +0000 (00:46 +0200)] 
Merge pull request #3786 from netguru:develop

[feature] Add 'default' locale that detects browser setting

8 years agoDo not mess up with global.window
Iskren Chernev [Sat, 11 Mar 2017 22:45:10 +0000 (00:45 +0200)] 
Do not mess up with global.window

8 years agoOS-29 Detect user locale in a browser when a 'default' sting is passed to the locale...
Maciej Myśliński [Fri, 24 Feb 2017 19:18:40 +0000 (20:18 +0100)] 
OS-29 Detect user locale in a browser when a 'default' sting is passed to the locale method

8 years agoMerge pull request #3780 from marwahaha:patch/3765
Iskren Chernev [Sat, 11 Mar 2017 22:39:33 +0000 (00:39 +0200)] 
Merge pull request #3780 from marwahaha:patch/3765

[bugfix] Fixes #3765: Ensure year 0 is formatted with YYYY

8 years agoEnsure year 0 is displayed with YYYY
Iskren Chernev [Sat, 11 Mar 2017 22:38:27 +0000 (00:38 +0200)] 
Ensure year 0 is displayed with YYYY

8 years agoMake suggested fix by @vagsa2
Kunal Marwaha [Tue, 21 Feb 2017 07:33:51 +0000 (02:33 -0500)] 
Make suggested fix by @vagsa2

8 years agoMerge pull request #3778 from WikiDiscoverer:patch-1
Iskren Chernev [Sat, 11 Mar 2017 22:29:36 +0000 (00:29 +0200)] 
Merge pull request #3778 from WikiDiscoverer:patch-1

[new locale] gom-latn: Konkani latin locale

8 years agoCreate gom-latn.js
WikiDiscoverer [Mon, 20 Feb 2017 16:53:57 +0000 (22:23 +0530)] 
Create gom-latn.js

Locale for Konkani (Latin script)

8 years agoMerge pull request #3776 from fbonzon:https
Iskren Chernev [Sat, 11 Mar 2017 22:21:35 +0000 (00:21 +0200)] 
Merge pull request #3776 from fbonzon:https

[misc] Prefer HTTPS links when they exist

8 years agoPrefer HTTPS links when they exist
François B [Mon, 20 Feb 2017 01:31:12 +0000 (02:31 +0100)] 
Prefer HTTPS links when they exist

8 years agoMerge pull request #3773 from keheliya:master
Iskren Chernev [Sat, 11 Mar 2017 22:14:01 +0000 (00:14 +0200)] 
Merge pull request #3773 from keheliya:master

[misc] Move travis install commands to install phase

8 years agomoving install commands to install phase
Keheliya Gallaba [Sat, 18 Feb 2017 16:55:29 +0000 (11:55 -0500)] 
moving install commands to install phase

8 years agoMerge pull request #3766 from EzequielB:k_and_kk_parsing_support
Iskren Chernev [Sat, 11 Mar 2017 22:11:55 +0000 (00:11 +0200)] 
Merge pull request #3766 from EzequielB:k_and_kk_parsing_support

[feature] Add support for k and kk format parsing

8 years agoAdd support for k and kk format parsing
Ezequiel Ballesi [Thu, 16 Feb 2017 00:58:13 +0000 (21:58 -0300)] 
Add support for k and kk format parsing

8 years agoMerge pull request #3747 from mperrando:fix-italian-grammar
Iskren Chernev [Sat, 11 Mar 2017 22:05:54 +0000 (00:05 +0200)] 
Merge pull request #3747 from mperrando:fix-italian-grammar

[locale] it: Weekdays are now lowercase

8 years agoWeekdays must be written with lowercase initial.
Marco Perrando [Fri, 3 Feb 2017 09:56:02 +0000 (10:56 +0100)] 
Weekdays must be written with lowercase initial.

See http://www.treccani.it/enciclopedia/uso-delle-maiuscole_(La-grammatica-italiana)

> I nomi dei giorni della settimana e dei mesi vanno scritti con l’iniziale minuscola
> maggio, lunedì, marzo, sabato.

8 years agoMerge pull request #3738 from pndewit:develop
Iskren Chernev [Sat, 11 Mar 2017 22:02:55 +0000 (00:02 +0200)] 
Merge pull request #3738 from pndewit:develop

[feature] Enable relative time for multiple seconds, request #2558

8 years agoRemove s/ss global flag
Iskren Chernev [Sat, 11 Mar 2017 22:00:18 +0000 (00:00 +0200)] 
Remove s/ss global flag

8 years agoimplements optional threshold for a few seconds to %d seconds: #2558
Patrick de Wit [Tue, 31 Jan 2017 11:04:20 +0000 (12:04 +0100)] 
implements optional threshold for a few seconds to %d seconds: #2558

8 years agoMerge pull request #3726 from nasserghiasi:develop
Iskren Chernev [Sat, 11 Mar 2017 21:51:58 +0000 (23:51 +0200)] 
Merge pull request #3726 from nasserghiasi:develop

[locale] fa: Improve relative time for seconds

8 years agofix context in persian (fa) locale files
Nasser Ghiasi [Tue, 21 Feb 2017 20:17:22 +0000 (23:47 +0330)] 
fix context in persian (fa) locale files

8 years agoMerge pull request #3737 from hupfis:patch-1
Iskren Chernev [Sun, 5 Mar 2017 21:38:41 +0000 (23:38 +0200)] 
Merge pull request #3737 from hupfis:patch-1

[misc] Fix formatting of changelog

8 years agoFix formatting of changelog
hupfis [Mon, 30 Jan 2017 12:39:45 +0000 (13:39 +0100)] 
Fix formatting of changelog

8 years agoMerge pull request #3787 from marwahaha:fix/3717
Iskren Chernev [Thu, 2 Mar 2017 10:00:40 +0000 (12:00 +0200)] 
Merge pull request #3787 from marwahaha:fix/3717

[bugfix] Fixes #3717, ensure day-of-year is non-zero

8 years agoMove logic to overflow section
Kunal Marwaha [Sun, 26 Feb 2017 04:04:49 +0000 (23:04 -0500)] 
Move logic to overflow section

8 years agoForce day-of-year to nonzero parsing
Kunal Marwaha [Sun, 26 Feb 2017 03:18:49 +0000 (22:18 -0500)] 
Force day-of-year to nonzero parsing

8 years agoMerge pull request #3753 from Rasulbeeek:develop
Iskren Chernev [Thu, 2 Mar 2017 09:51:13 +0000 (11:51 +0200)] 
Merge pull request #3753 from Rasulbeeek:develop

[new locale] uz-latn: Uzbek latin locale

8 years agoadded uzbek latin locale
Rasulbek [Tue, 7 Feb 2017 14:21:22 +0000 (19:21 +0500)] 
added uzbek latin locale

8 years agoMerge pull request #3750 from rajeevnaikte:kannada_locale
Iskren Chernev [Thu, 2 Mar 2017 09:43:51 +0000 (11:43 +0200)] 
Merge pull request #3750 from rajeevnaikte:kannada_locale

[new locale] kn: Kannada locale

8 years agoAdd locale for Kannada
rajeevnaikte [Sun, 5 Feb 2017 07:39:32 +0000 (13:09 +0530)] 
Add locale for Kannada

8 years agoMerge pull request #3712 from marwahaha:fix/3693
Iskren Chernev [Thu, 2 Mar 2017 09:38:28 +0000 (11:38 +0200)] 
Merge pull request #3712 from marwahaha:fix/3693

[misc] Use isFunction instead of instanceof Function

8 years agoUse isFunction instead of instanceof Function
Kunal Marwaha [Tue, 10 Jan 2017 15:49:38 +0000 (10:49 -0500)] 
Use isFunction instead of instanceof Function

8 years agoMerge pull request #3710 from moment:maggie/isostringnull
Iskren Chernev [Thu, 2 Mar 2017 09:33:50 +0000 (11:33 +0200)] 
Merge pull request #3710 from moment:maggie/isostringnull

[bugfix] Fixes #3632, toISOString returns null for invalid date

8 years agotoISOString returns null for invalid date
Maggie Pint [Mon, 9 Jan 2017 04:49:27 +0000 (20:49 -0800)] 
toISOString returns null for invalid date

8 years agoMerge pull request #3707 from miestasmia:develop
Iskren Chernev [Thu, 2 Mar 2017 09:30:04 +0000 (11:30 +0200)] 
Merge pull request #3707 from miestasmia:develop

[locale] eo: Fix grammatical errors

8 years agoAdd missing credit to header in Esperanto locale
Mia Nordentoft [Sat, 7 Jan 2017 14:21:40 +0000 (15:21 +0100)] 
Add missing credit to header in Esperanto locale

8 years agoFix various different grammatical errors in Esperanto locale
Mia Nordentoft [Sat, 7 Jan 2017 14:17:01 +0000 (15:17 +0100)] 
Fix various different grammatical errors in Esperanto locale

8 years agoMerge pull request #3701 from gregpabian:fix/locale-specifier-typings
Iskren Chernev [Thu, 2 Mar 2017 09:26:10 +0000 (11:26 +0200)] 
Merge pull request #3701 from gregpabian:fix/locale-specifier-typings

[misc] typescript: Add boolean to LocaleSelector variants

8 years agoFixed up invalid typings for LocaleSelector.
Grzegorz Pabian [Thu, 5 Jan 2017 15:47:09 +0000 (15:47 +0000)] 
Fixed up invalid typings for LocaleSelector.

8 years agoMerge pull request #3695 from nwhittaker:develop
Iskren Chernev [Thu, 2 Mar 2017 09:22:56 +0000 (11:22 +0200)] 
Merge pull request #3695 from nwhittaker:develop

[locale] th: Adjust "L" format

8 years agoAdjust Thai localized short date format to read day/month/year (moment/moment#3692).
Nate Whittaker [Sat, 31 Dec 2016 19:38:40 +0000 (14:38 -0500)] 
Adjust Thai localized short date format to read day/month/year (moment/moment#3692).

8 years agoMerge pull request #3676 from Dok11:develop
Iskren Chernev [Thu, 2 Mar 2017 09:19:34 +0000 (11:19 +0200)] 
Merge pull request #3676 from Dok11:develop

[misc] Style changes in ping-all-authors script

8 years agoFix fatal error
Oleg Postoev [Fri, 23 Dec 2016 15:39:47 +0000 (18:39 +0300)] 
Fix fatal error

Some changes for better work and nice code style

8 years agoMerge pull request #3666 from josephjaniga:calendar-overload-formats
Iskren Chernev [Thu, 2 Mar 2017 09:17:17 +0000 (11:17 +0200)] 
Merge pull request #3666 from josephjaniga:calendar-overload-formats

[feature] Calendar function handles formats only arg

8 years agofixed comment per request
joseph janiga [Sat, 4 Feb 2017 16:00:25 +0000 (11:00 -0500)] 
fixed comment per request

8 years agoRemoved trailing space...
joseph janiga [Sat, 17 Dec 2016 00:54:26 +0000 (19:54 -0500)] 
Removed trailing space...

8 years agoIssue no. 3658 adding overload for single parameter to calendar function
joseph janiga [Sat, 17 Dec 2016 00:32:03 +0000 (19:32 -0500)] 
Issue no. 3658 adding overload for single parameter to calendar function

Corrected the formatting on calendarjs unit test file

Corrected autoformatting

8 years agoMerge pull request #3664 from FindHotel:pt_weekdays
Iskren Chernev [Thu, 2 Mar 2017 09:14:12 +0000 (11:14 +0200)] 
Merge pull request #3664 from FindHotel:pt_weekdays

[locale] pt, pt-br: all weekdays min values with 2 characters.

8 years agoAll weekdays min values in pt and pt-BR with 2 characters.
Prodis [Thu, 15 Dec 2016 15:25:36 +0000 (16:25 +0100)] 
All weekdays min values in pt and pt-BR with 2 characters.

8 years agoMerge pull request #3659 from narainsagar:sindhi-locale-support
Iskren Chernev [Thu, 2 Mar 2017 09:10:52 +0000 (11:10 +0200)] 
Merge pull request #3659 from narainsagar:sindhi-locale-support

[new locale] sd: Sindhi locale

8 years agoAdded Sindhi locale support
Narain Sagar [Tue, 13 Dec 2016 23:16:46 +0000 (04:16 +0500)] 
Added Sindhi locale support

8 years agoMerge pull request #3654 from codenhagen:develop
Iskren Chernev [Thu, 2 Mar 2017 08:59:58 +0000 (10:59 +0200)] 
Merge pull request #3654 from codenhagen:develop

[locale] da: Improvements in calendar and date formats

8 years agoFixed locale typos and errors
codenhagen [Fri, 9 Dec 2016 14:37:05 +0000 (15:37 +0100)] 
Fixed locale typos and errors

8 years agoMerge pull request #3643 from moment:maggie/offsetminutesashours
Iskren Chernev [Thu, 2 Mar 2017 08:55:34 +0000 (10:55 +0200)] 
Merge pull request #3643 from moment:maggie/offsetminutesashours

[bugfix] Fixes #3520, parseZone incorrectly handled minutes under 16

8 years agofix conversion of parsed offset to hours
Maggie Pint [Mon, 5 Dec 2016 05:17:31 +0000 (21:17 -0800)] 
fix conversion of parsed offset to hours

8 years agoMerge pull request #3641 from ibnesayeed:develop
Iskren Chernev [Thu, 2 Mar 2017 08:51:01 +0000 (10:51 +0200)] 
Merge pull request #3641 from ibnesayeed:develop

[new locale] ur: Urdu locale

8 years agoAdded a fallback point of contact
Sawood Alam [Thu, 12 Jan 2017 15:39:08 +0000 (10:39 -0500)] 
Added a fallback point of contact

8 years agoAdded unit tests for Urdu locale
Sawood Alam [Sun, 4 Dec 2016 17:47:43 +0000 (12:47 -0500)] 
Added unit tests for Urdu locale

8 years agoAdded meridiem and formatting improvements
Sawood Alam [Sun, 4 Dec 2016 17:42:19 +0000 (12:42 -0500)] 
Added meridiem and formatting improvements

8 years agoIndentation corrected
Sawood Alam [Sun, 4 Dec 2016 15:26:26 +0000 (10:26 -0500)] 
Indentation corrected

8 years agoAdded Urdu locale translations
Sawood Alam [Sun, 4 Dec 2016 06:20:11 +0000 (01:20 -0500)] 
Added Urdu locale translations

8 years agoMerge pull request #3611 from marwahaha:patch-3225
Iskren Chernev [Thu, 2 Mar 2017 08:46:38 +0000 (10:46 +0200)] 
Merge pull request #3611 from marwahaha:patch-3225

[feature] Durations gain validity

8 years agoCreate moment.duration.invalid()
Kunal Marwaha [Tue, 21 Feb 2017 08:02:25 +0000 (03:02 -0500)] 
Create moment.duration.invalid()

8 years agoMake rest of code review changes
Kunal Marwaha [Mon, 6 Feb 2017 08:04:20 +0000 (03:04 -0500)] 
Make rest of code review changes

8 years agoMake easy changes as per code review
Kunal Marwaha [Mon, 6 Feb 2017 07:31:09 +0000 (02:31 -0500)] 
Make easy changes as per code review

8 years agoAdd validity check for decimal values on non-smallest duration unit
Kunal Marwaha [Sat, 21 Jan 2017 02:23:29 +0000 (21:23 -0500)] 
Add validity check for decimal values on non-smallest duration unit

8 years agoAdd second invalid duration test case
Kunal Marwaha [Mon, 5 Dec 2016 07:48:24 +0000 (02:48 -0500)] 
Add second invalid duration test case

8 years agoFix duration functions to follow tests
Kunal Marwaha [Mon, 5 Dec 2016 07:37:07 +0000 (02:37 -0500)] 
Fix duration functions to follow tests

8 years agoWrite duration-invalid tests
Kunal Marwaha [Mon, 5 Dec 2016 07:15:49 +0000 (02:15 -0500)] 
Write duration-invalid tests

8 years agoReplace arrow function
Kunal Marwaha [Wed, 30 Nov 2016 06:06:54 +0000 (01:06 -0500)] 
Replace arrow function

8 years agoReturn invalid date for humanize if duration is invalid
Kunal Marwaha [Tue, 29 Nov 2016 07:08:30 +0000 (23:08 -0800)] 
Return invalid date for humanize if duration is invalid

8 years agoAdd accessor function to isValid
Kunal Marwaha [Tue, 29 Nov 2016 06:57:45 +0000 (22:57 -0800)] 
Add accessor function to isValid

8 years agoCreate _isValid property for durations
Kunal Marwaha [Sat, 19 Nov 2016 07:27:43 +0000 (02:27 -0500)] 
Create _isValid property for durations

8 years agoMerge pull request #3608 from jasonkb:standardizedcjktimeformats
Iskren Chernev [Thu, 2 Mar 2017 08:41:15 +0000 (10:41 +0200)] 
Merge pull request #3608 from jasonkb:standardizedcjktimeformats

[locale] ja, zh-*, ko: Standardize CJK time formats

8 years agoRevert LLL and LLLL in zh-cn to what it was.
Jason Katz-Brown [Thu, 24 Nov 2016 04:24:14 +0000 (21:24 -0700)] 
Revert LLL and LLLL in zh-cn to what it was.

8 years ago12-hour time for Korean
Jason Katz-Brown [Tue, 15 Nov 2016 09:25:17 +0000 (02:25 -0700)] 
12-hour time for Korean

8 years agoStandardize CJK time formats.
Jason Katz-Brown [Tue, 15 Nov 2016 08:15:19 +0000 (01:15 -0700)] 
Standardize CJK time formats.

Times like '16:30' are predominant on China, Taiwan, Hong Kong, Japan
and Korea websites. For example, all of Facebook's CJK locales format
times like '16:30'.

This change also removes an inconsistency in 'calendar' between zh-cn
and the two other zh locales (zh-hk and zh-tw). Now 'calendar' will
refer to days in the current week in the same way across these three
locales.

8 years agoMerge pull request #3559 from captbaritone:undefined-unify
Iskren Chernev [Thu, 2 Mar 2017 08:37:13 +0000 (10:37 +0200)] 
Merge pull request #3559 from captbaritone:undefined-unify

[misc] Clean up usage of `typeof`

8 years agoClean up ussage of `typeof`
Jordan Eldredge [Wed, 2 Nov 2016 19:28:51 +0000 (12:28 -0700)] 
Clean up ussage of `typeof`

Improve type checking by using helper functions.

8 years agoMerge pull request #3351 from colus001:develop
Iskren Chernev [Thu, 2 Mar 2017 08:34:12 +0000 (10:34 +0200)] 
Merge pull request #3351 from colus001:develop

[locale] ko: Change 'm' date translation '일분' to '1분'

8 years agoUpdate ko.js
Seokjun Kim [Fri, 5 Aug 2016 08:12:47 +0000 (17:12 +0900)] 
Update ko.js

8 years agoChange '일분' to '1분'
Seokjun Kim [Fri, 5 Aug 2016 08:10:10 +0000 (17:10 +0900)] 
Change '일분' to '1분'

- Usually korean write 1 minute as 1분 not 일분

8 years agoMerge pull request #3337 from skfd:feature-minify-without-comments
Iskren Chernev [Thu, 2 Mar 2017 08:30:38 +0000 (10:30 +0200)] 
Merge pull request #3337 from skfd:feature-minify-without-comments

[misc] Remove comments in minified code

8 years agoGive explicit reg exp for filtering comments.
Konstantin Koniev [Fri, 29 Jul 2016 16:28:40 +0000 (19:28 +0300)] 
Give explicit reg exp for filtering comments.

8 years agoMerge pull request #3799 from ichernev:fix-tests
Iskren Chernev [Thu, 2 Mar 2017 08:28:49 +0000 (10:28 +0200)] 
Merge pull request #3799 from ichernev:fix-tests

[misc] Fix test broken only in March

8 years agoFix test broken only in March 3799/head
Iskren Chernev [Thu, 2 Mar 2017 08:20:34 +0000 (10:20 +0200)] 
Fix test broken only in March

Even if you set custom rounding threshold for days -> month, because relative
time works on durations, which computes it from two moments, if its over
a month in real terms (1st Feb to 2nd March) it will be shown as a month no
matter the thres. It might be considered a bug, but for now it's a feature.

8 years agoBuild 2.17.1 2.17.1
Iskren Chernev [Sun, 4 Dec 2016 05:41:33 +0000 (21:41 -0800)] 
Build 2.17.1

8 years agoBump version to 2.17.1
Iskren Chernev [Sun, 4 Dec 2016 05:39:51 +0000 (21:39 -0800)] 
Bump version to 2.17.1

8 years agoUpdate changelog for 2.17.1
Iskren Chernev [Sun, 4 Dec 2016 05:39:31 +0000 (21:39 -0800)] 
Update changelog for 2.17.1

8 years agoMerge pull request #3640 from ichernev:rm-bg-x
Iskren Chernev [Sun, 4 Dec 2016 05:31:29 +0000 (21:31 -0800)] 
Merge pull request #3640 from ichernev:rm-bg-x

[misc] Fix locale issues

8 years agoFix comment in Yoruba (yo) locale 3640/head
Iskren Chernev [Sun, 4 Dec 2016 05:21:21 +0000 (21:21 -0800)] 
Fix comment in Yoruba (yo) locale

8 years agoRemove mistakenly commited bg-x locale
Iskren Chernev [Sun, 4 Dec 2016 05:20:44 +0000 (21:20 -0800)] 
Remove mistakenly commited bg-x locale

8 years agoMerge pull request #3638 from ichernev:fix-ts2
Iskren Chernev [Sun, 4 Dec 2016 05:08:18 +0000 (21:08 -0800)] 
Merge pull request #3638 from ichernev:fix-ts2

[misc] TS: Make typescript definitions work with 1.x

8 years agoChange typescript version back to 1.8.10 and remove strictNullChecks
Iskren Chernev [Sun, 4 Dec 2016 02:58:19 +0000 (18:58 -0800)] 
Change typescript version back to 1.8.10 and remove strictNullChecks

8 years agoRemove null from typescrip tests
Iskren Chernev [Sun, 4 Dec 2016 02:12:13 +0000 (18:12 -0800)] 
Remove null from typescrip tests

8 years agoReplace null/undefined with void in moment.d.ts to fix pre 2.0 typescript users
Iskren Chernev [Sun, 27 Nov 2016 14:48:05 +0000 (16:48 +0200)] 
Replace null/undefined with void in moment.d.ts to fix pre 2.0 typescript users

8 years agoMerge pull request #3628 from skfd/feature-sign-cla-link
Matt Johnson [Wed, 30 Nov 2016 03:29:50 +0000 (19:29 -0800)] 
Merge pull request #3628 from skfd/feature-sign-cla-link

Adds "sign CLA" link to `CONTRIBUTING.md`.

8 years agoAdds "sign CLA" link to `CONTRIBUTING.md`. 3628/head
Kost Koniev [Tue, 29 Nov 2016 12:43:36 +0000 (14:43 +0200)] 
Adds "sign CLA" link to `CONTRIBUTING.md`.