]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
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`.

8 years agoBuild 2.17.0 2.17.0
Iskren Chernev [Tue, 22 Nov 2016 13:41:06 +0000 (15:41 +0200)] 
Build 2.17.0

8 years agoBump version to 2.17.0
Iskren Chernev [Tue, 22 Nov 2016 13:39:36 +0000 (15:39 +0200)] 
Bump version to 2.17.0

8 years agoUpdate changelog for 2.17.0
Iskren Chernev [Tue, 22 Nov 2016 13:38:58 +0000 (15:38 +0200)] 
Update changelog for 2.17.0

8 years agoMerge pull request #3597 from vanillajonathan:patch-1
Iskren Chernev [Tue, 22 Nov 2016 13:28:03 +0000 (15:28 +0200)] 
Merge pull request #3597 from vanillajonathan:patch-1

[misc] Fixed capitalization in nuget spec

8 years agoFixed capitalization
Jonathan [Fri, 11 Nov 2016 13:04:30 +0000 (14:04 +0100)] 
Fixed capitalization

8 years agoMerge pull request #3591 from tiagoefmoraes:fix_3589
Iskren Chernev [Tue, 22 Nov 2016 13:25:27 +0000 (15:25 +0200)] 
Merge pull request #3591 from tiagoefmoraes:fix_3589

[misc] typescript: update typescript to 2.0.8, add strictNullChecks=true

8 years agoProper support for null and undefined for typescript 2.0
Iskren Chernev [Tue, 22 Nov 2016 13:22:35 +0000 (15:22 +0200)] 
Proper support for null and undefined for typescript 2.0

8 years agoupdate typescript to 2.0.8, add strictNullChecks=true and fix CalendarSpec type ...
Tiago Moraes [Thu, 10 Nov 2016 13:55:37 +0000 (10:55 -0300)] 
update typescript to 2.0.8, add strictNullChecks=true and fix CalendarSpec type #3589

8 years agoMerge pull request #3435 from andela-batolagbe:add-yoruba-locale
Iskren Chernev [Sat, 12 Nov 2016 06:38:13 +0000 (22:38 -0800)] 
Merge pull request #3435 from andela-batolagbe:add-yoruba-locale

[new locale] yo: Yoruba (Nigeria) locale

8 years agoadd locale for Yoruba, Nigeria
Atolagbe Abisoye [Thu, 8 Sep 2016 19:01:25 +0000 (20:01 +0100)] 
add locale for Yoruba, Nigeria

8 years agoMerge pull request #3504 from willdembinski:development
Iskren Chernev [Sat, 12 Nov 2016 06:33:13 +0000 (22:33 -0800)] 
Merge pull request #3504 from willdembinski:development

[tests] Fixes #3463, parseZone not handling Z correctly (tests only)

8 years agoFix for conditional in src/lib/units/offset.js:164 - I interpreted this is as simply...
Will Dembinski [Fri, 14 Oct 2016 01:14:15 +0000 (18:14 -0700)] 
Fix for conditional in src/lib/units/offset.js:164 - I interpreted this is as simply not catching  being a falsy (but assumedly valid) time zone modifier (_tzm?) of 0

8 years agoMerge pull request #3506 from samuelfullerthomas:develop
Iskren Chernev [Sat, 12 Nov 2016 06:26:39 +0000 (22:26 -0800)] 
Merge pull request #3506 from samuelfullerthomas:develop

[bugfix] Fix invalid moments returning valid dates to method calls

8 years agoUpdate invalid date check in tests
Iskren Chernev [Sat, 12 Nov 2016 06:25:27 +0000 (22:25 -0800)] 
Update invalid date check in tests

8 years agofix linting errors
Sam Thomas [Thu, 10 Nov 2016 21:48:32 +0000 (16:48 -0500)] 
fix linting errors

8 years agoadd validation for moments with invalid dates at construction
Sam Thomas [Thu, 10 Nov 2016 18:15:37 +0000 (13:15 -0500)] 
add validation for moments with invalid dates at construction

8 years agoMerge pull request #3563 from pereorga:devel
Iskren Chernev [Sat, 12 Nov 2016 06:10:11 +0000 (22:10 -0800)] 
Merge pull request #3563 from pereorga:devel

[locale] ca: Change future relative time

8 years agoImprove Catalan localization
Pere Orga [Thu, 3 Nov 2016 19:43:56 +0000 (20:43 +0100)] 
Improve Catalan localization

8 years agoMerge pull request #3595 from davidxmoody:develop
Iskren Chernev [Sat, 12 Nov 2016 06:06:44 +0000 (22:06 -0800)] 
Merge pull request #3595 from davidxmoody:develop

[bugfix] Fix accidental reference to global "value" variable

8 years agoFix accidental reference to global "value" variable 3595/head
David Moody [Fri, 11 Nov 2016 10:45:56 +0000 (10:45 +0000)] 
Fix accidental reference to global "value" variable

8 years agoFix linter issue
Iskren Chernev [Thu, 10 Nov 2016 09:31:14 +0000 (01:31 -0800)] 
Fix linter issue