]>
git.ipfire.org Git - thirdparty/moment.git/log
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`.
Iskren Chernev [Tue, 22 Nov 2016 13:41:06 +0000 (15:41 +0200)]
Build 2.17.0
Iskren Chernev [Tue, 22 Nov 2016 13:39:36 +0000 (15:39 +0200)]
Bump version to 2.17.0
Iskren Chernev [Tue, 22 Nov 2016 13:38:58 +0000 (15:38 +0200)]
Update changelog for 2.17.0
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
Jonathan [Fri, 11 Nov 2016 13:04:30 +0000 (14:04 +0100)]
Fixed capitalization
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
Iskren Chernev [Tue, 22 Nov 2016 13:22:35 +0000 (15:22 +0200)]
Proper support for null and undefined for typescript 2.0
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
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
Atolagbe Abisoye [Thu, 8 Sep 2016 19:01:25 +0000 (20:01 +0100)]
add locale for Yoruba, Nigeria
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)
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
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
Iskren Chernev [Sat, 12 Nov 2016 06:25:27 +0000 (22:25 -0800)]
Update invalid date check in tests
Sam Thomas [Thu, 10 Nov 2016 21:48:32 +0000 (16:48 -0500)]
fix linting errors
Sam Thomas [Thu, 10 Nov 2016 18:15:37 +0000 (13:15 -0500)]
add validation for moments with invalid dates at construction
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
Pere Orga [Thu, 3 Nov 2016 19:43:56 +0000 (20:43 +0100)]
Improve Catalan localization
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
David Moody [Fri, 11 Nov 2016 10:45:56 +0000 (10:45 +0000)]
Fix accidental reference to global "value" variable
Iskren Chernev [Thu, 10 Nov 2016 09:31:14 +0000 (01:31 -0800)]
Fix linter issue
Iskren Chernev [Thu, 10 Nov 2016 07:30:38 +0000 (23:30 -0800)]
Fix nuget-publish task
Iskren Chernev [Thu, 10 Nov 2016 06:48:26 +0000 (22:48 -0800)]
Build 2.16.0
Iskren Chernev [Thu, 10 Nov 2016 06:44:39 +0000 (22:44 -0800)]
Bump version to 2.16.0
Iskren Chernev [Thu, 10 Nov 2016 06:44:06 +0000 (22:44 -0800)]
Update changelog for 2.16.0
Iskren Chernev [Tue, 8 Nov 2016 05:18:11 +0000 (21:18 -0800)]
Merge pull request #3581 from ichernev:fix-parse-zone
[bugfix] Fix parseZone, redo #3504, fix #3463
Iskren Chernev [Tue, 8 Nov 2016 05:08:49 +0000 (21:08 -0800)]
Fix parseZone, redo #3504
Iskren Chernev [Tue, 8 Nov 2016 05:04:46 +0000 (21:04 -0800)]
Use Function constructor in place of eval for rollup's satisfaction
Iskren Chernev [Mon, 7 Nov 2016 09:58:17 +0000 (01:58 -0800)]
Merge pull request #3571 from captbaritone:is-number
[misc] Introduce isNumber function
Jordan Eldredge [Sun, 6 Nov 2016 04:07:49 +0000 (21:07 -0700)]
Introduce isNumber function
In #3559 @ichernev stated that he would prefer using an `isNumber`
utility function over a naive type check.
This pull request actualizes that preference.
Our new `isNumber` function is slightly more robust than a simple type
check. For example, it will also correctly identify wrapped number
primitives.
https://javascriptweblog.wordpress.com/2010/09/27/the-secret-life-of-javascript-primitives/
Iskren Chernev [Mon, 7 Nov 2016 09:56:26 +0000 (01:56 -0800)]
Merge pull request #3570 from captbaritone:bool-check-develop
[misc] Avoid boolean type check
Jordan Eldredge [Sun, 6 Nov 2016 03:29:18 +0000 (20:29 -0700)]
Avoid boolean type check
In #3559 @ichernev stated that he would prefer two strict comparisons
(to `true` and `false`) over checking the type.
This pull request actualizes that preference.
Iskren Chernev [Mon, 7 Nov 2016 00:53:49 +0000 (16:53 -0800)]
Merge pull request #3366 from eximius313:patch-3
[locale] pl: Update weekday short strings
Iskren Chernev [Mon, 7 Nov 2016 00:52:54 +0000 (16:52 -0800)]
Change weekdays short in pl
Kamil [Fri, 12 Aug 2016 09:17:53 +0000 (11:17 +0200)]
Update tests
Iskren Chernev [Mon, 7 Nov 2016 00:38:27 +0000 (16:38 -0800)]
Merge pull request #3342 from catalpainternational:develop
[new locale] tet: Tetun Dili (East Timor) locale
Iskren Chernev [Mon, 7 Nov 2016 00:37:34 +0000 (16:37 -0800)]
Fix tdt -> tet in locale comment
Joshua Brooks [Mon, 15 Aug 2016 07:46:46 +0000 (16:46 +0900)]
Add locale and test for Tetum (tet) locale
Iskren Chernev [Sun, 6 Nov 2016 10:11:38 +0000 (02:11 -0800)]
Merge pull request #3231 from glenjamin:inspect
[misc] Add moment.inspect() for friendly console output
Glen Mailer [Sat, 11 Jun 2016 17:40:27 +0000 (18:40 +0100)]
Add moment.inspect() for friendly console output
This gets used automatically by node's util.inspect function
and a number of similar libraries. This also means that it
will be used by the NodeJS REPL
Iskren Chernev [Sun, 6 Nov 2016 10:09:34 +0000 (02:09 -0800)]
Merge pull request #3393 from noureddineme:develop
[new locale] ar-dz: Arabic (Algeria) locale
Noureddine LOUAHEDJ [Thu, 25 Aug 2016 07:34:27 +0000 (08:34 +0100)]
Adding locale for Algeria
Iskren Chernev [Sun, 6 Nov 2016 10:07:45 +0000 (02:07 -0800)]
Merge pull request #3416 from kevinzwhuang:migrate-nl-locales
[new locale] nl-be: Dutch (Belgium) locale