]>
git.ipfire.org Git - thirdparty/moment.git/log
Nusret Parlak [Mon, 27 Feb 2017 11:42:54 +0000 (13:42 +0200)]
Day of week updated.
Day of week updated.
nusretparlak [Mon, 27 Feb 2017 06:38:46 +0000 (08:38 +0200)]
Ar-Kw(Kuwait) Language Package Added .
Ar-Kw(Kuwait) Language Package Added .
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
Iskren Chernev [Sat, 11 Mar 2017 22:45:10 +0000 (00:45 +0200)]
Do not mess up with global.window
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
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
Iskren Chernev [Sat, 11 Mar 2017 22:38:27 +0000 (00:38 +0200)]
Ensure year 0 is displayed with YYYY
Kunal Marwaha [Tue, 21 Feb 2017 07:33:51 +0000 (02:33 -0500)]
Make suggested fix by @vagsa2
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
WikiDiscoverer [Mon, 20 Feb 2017 16:53:57 +0000 (22:23 +0530)]
Create gom-latn.js
Locale for Konkani (Latin script)
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
François B [Mon, 20 Feb 2017 01:31:12 +0000 (02:31 +0100)]
Prefer HTTPS links when they exist
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
Keheliya Gallaba [Sat, 18 Feb 2017 16:55:29 +0000 (11:55 -0500)]
moving install commands to install phase
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
Ezequiel Ballesi [Thu, 16 Feb 2017 00:58:13 +0000 (21:58 -0300)]
Add support for k and kk format parsing
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
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.
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
Iskren Chernev [Sat, 11 Mar 2017 22:00:18 +0000 (00:00 +0200)]
Remove s/ss global flag
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
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
Nasser Ghiasi [Tue, 21 Feb 2017 20:17:22 +0000 (23:47 +0330)]
fix context in persian (fa) locale files
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
hupfis [Mon, 30 Jan 2017 12:39:45 +0000 (13:39 +0100)]
Fix formatting of changelog
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
Kunal Marwaha [Sun, 26 Feb 2017 04:04:49 +0000 (23:04 -0500)]
Move logic to overflow section
Kunal Marwaha [Sun, 26 Feb 2017 03:18:49 +0000 (22:18 -0500)]
Force day-of-year to nonzero parsing
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
Rasulbek [Tue, 7 Feb 2017 14:21:22 +0000 (19:21 +0500)]
added uzbek latin 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
rajeevnaikte [Sun, 5 Feb 2017 07:39:32 +0000 (13:09 +0530)]
Add locale for Kannada
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
Kunal Marwaha [Tue, 10 Jan 2017 15:49:38 +0000 (10:49 -0500)]
Use isFunction instead of instanceof Function
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
Maggie Pint [Mon, 9 Jan 2017 04:49:27 +0000 (20:49 -0800)]
toISOString returns null for invalid date
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
Mia Nordentoft [Sat, 7 Jan 2017 14:21:40 +0000 (15:21 +0100)]
Add missing credit to header in Esperanto locale
Mia Nordentoft [Sat, 7 Jan 2017 14:17:01 +0000 (15:17 +0100)]
Fix various different grammatical errors in Esperanto locale
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
Grzegorz Pabian [Thu, 5 Jan 2017 15:47:09 +0000 (15:47 +0000)]
Fixed up invalid typings for LocaleSelector.
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
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).
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
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
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
joseph janiga [Sat, 4 Feb 2017 16:00:25 +0000 (11:00 -0500)]
fixed comment per request
joseph janiga [Sat, 17 Dec 2016 00:54:26 +0000 (19:54 -0500)]
Removed trailing space...
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
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.
Prodis [Thu, 15 Dec 2016 15:25:36 +0000 (16:25 +0100)]
All weekdays min values in pt and pt-BR with 2 characters.
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
Narain Sagar [Tue, 13 Dec 2016 23:16:46 +0000 (04:16 +0500)]
Added Sindhi locale support
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
codenhagen [Fri, 9 Dec 2016 14:37:05 +0000 (15:37 +0100)]
Fixed locale typos and errors
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
Maggie Pint [Mon, 5 Dec 2016 05:17:31 +0000 (21:17 -0800)]
fix conversion of parsed offset to hours
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
Sawood Alam [Thu, 12 Jan 2017 15:39:08 +0000 (10:39 -0500)]
Added a fallback point of contact
Sawood Alam [Sun, 4 Dec 2016 17:47:43 +0000 (12:47 -0500)]
Added unit tests for Urdu locale
Sawood Alam [Sun, 4 Dec 2016 17:42:19 +0000 (12:42 -0500)]
Added meridiem and formatting improvements
Sawood Alam [Sun, 4 Dec 2016 15:26:26 +0000 (10:26 -0500)]
Indentation corrected
Sawood Alam [Sun, 4 Dec 2016 06:20:11 +0000 (01:20 -0500)]
Added Urdu locale translations
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
Kunal Marwaha [Tue, 21 Feb 2017 08:02:25 +0000 (03:02 -0500)]
Create moment.duration.invalid()
Kunal Marwaha [Mon, 6 Feb 2017 08:04:20 +0000 (03:04 -0500)]
Make rest of code review changes
Kunal Marwaha [Mon, 6 Feb 2017 07:31:09 +0000 (02:31 -0500)]
Make easy changes as per code review
Kunal Marwaha [Sat, 21 Jan 2017 02:23:29 +0000 (21:23 -0500)]
Add validity check for decimal values on non-smallest duration unit
Kunal Marwaha [Mon, 5 Dec 2016 07:48:24 +0000 (02:48 -0500)]
Add second invalid duration test case
Kunal Marwaha [Mon, 5 Dec 2016 07:37:07 +0000 (02:37 -0500)]
Fix duration functions to follow tests
Kunal Marwaha [Mon, 5 Dec 2016 07:15:49 +0000 (02:15 -0500)]
Write duration-invalid tests
Kunal Marwaha [Wed, 30 Nov 2016 06:06:54 +0000 (01:06 -0500)]
Replace arrow function
Kunal Marwaha [Tue, 29 Nov 2016 07:08:30 +0000 (23:08 -0800)]
Return invalid date for humanize if duration is invalid
Kunal Marwaha [Tue, 29 Nov 2016 06:57:45 +0000 (22:57 -0800)]
Add accessor function to isValid
Kunal Marwaha [Sat, 19 Nov 2016 07:27:43 +0000 (02:27 -0500)]
Create _isValid property for durations
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
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.
Jason Katz-Brown [Tue, 15 Nov 2016 09:25:17 +0000 (02:25 -0700)]
12-hour time for Korean
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.
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`
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.
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분'
Seokjun Kim [Fri, 5 Aug 2016 08:12:47 +0000 (17:12 +0900)]
Update ko.js
Seokjun Kim [Fri, 5 Aug 2016 08:10:10 +0000 (17:10 +0900)]
Change '일분' to '1분'
- Usually korean write 1 minute as 1분 not 일분
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
Konstantin Koniev [Fri, 29 Jul 2016 16:28:40 +0000 (19:28 +0300)]
Give explicit reg exp for filtering comments.
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
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.
Iskren Chernev [Sun, 4 Dec 2016 05:41:33 +0000 (21:41 -0800)]
Build 2.17.1
Iskren Chernev [Sun, 4 Dec 2016 05:39:51 +0000 (21:39 -0800)]
Bump version to 2.17.1
Iskren Chernev [Sun, 4 Dec 2016 05:39:31 +0000 (21:39 -0800)]
Update changelog for 2.17.1
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
Iskren Chernev [Sun, 4 Dec 2016 05:21:21 +0000 (21:21 -0800)]
Fix comment in Yoruba (yo) locale
Iskren Chernev [Sun, 4 Dec 2016 05:20:44 +0000 (21:20 -0800)]
Remove mistakenly commited bg-x locale
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
Iskren Chernev [Sun, 4 Dec 2016 02:58:19 +0000 (18:58 -0800)]
Change typescript version back to 1.8.10 and remove strictNullChecks
Iskren Chernev [Sun, 4 Dec 2016 02:12:13 +0000 (18:12 -0800)]
Remove null from typescrip tests
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
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`.
Kost Koniev [Tue, 29 Nov 2016 12:43:36 +0000 (14:43 +0200)]
Adds "sign CLA" link to `CONTRIBUTING.md`.