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

8 years agoFix nuget-publish task
Iskren Chernev [Thu, 10 Nov 2016 07:30:38 +0000 (23:30 -0800)] 
Fix nuget-publish task

8 years agoBuild 2.16.0 2.16.0
Iskren Chernev [Thu, 10 Nov 2016 06:48:26 +0000 (22:48 -0800)] 
Build 2.16.0

8 years agoBump version to 2.16.0
Iskren Chernev [Thu, 10 Nov 2016 06:44:39 +0000 (22:44 -0800)] 
Bump version to 2.16.0

8 years agoUpdate changelog for 2.16.0
Iskren Chernev [Thu, 10 Nov 2016 06:44:06 +0000 (22:44 -0800)] 
Update changelog for 2.16.0

8 years agoMerge pull request #3581 from ichernev:fix-parse-zone
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

8 years agoFix parseZone, redo #3504 3581/head
Iskren Chernev [Tue, 8 Nov 2016 05:08:49 +0000 (21:08 -0800)] 
Fix parseZone, redo #3504

8 years agoUse Function constructor in place of eval for rollup's satisfaction
Iskren Chernev [Tue, 8 Nov 2016 05:04:46 +0000 (21:04 -0800)] 
Use Function constructor in place of eval for rollup's satisfaction

8 years agoMerge pull request #3571 from captbaritone:is-number
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

8 years agoIntroduce 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/

8 years agoMerge pull request #3570 from captbaritone:bool-check-develop
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

8 years agoAvoid 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.

8 years agoMerge pull request #3366 from eximius313:patch-3
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

8 years agoChange weekdays short in pl
Iskren Chernev [Mon, 7 Nov 2016 00:52:54 +0000 (16:52 -0800)] 
Change weekdays short in pl

8 years agoUpdate tests
Kamil [Fri, 12 Aug 2016 09:17:53 +0000 (11:17 +0200)] 
Update tests

8 years agoMerge pull request #3342 from catalpainternational:develop
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

8 years agoFix tdt -> tet in locale comment
Iskren Chernev [Mon, 7 Nov 2016 00:37:34 +0000 (16:37 -0800)] 
Fix tdt -> tet in locale comment

8 years agoAdd locale and test for Tetum (tet) locale
Joshua Brooks [Mon, 15 Aug 2016 07:46:46 +0000 (16:46 +0900)] 
Add locale and test for Tetum (tet) locale

8 years agoMerge pull request #3231 from glenjamin:inspect
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

8 years agoAdd 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

8 years agoMerge pull request #3393 from noureddineme:develop
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

8 years agoAdding locale for Algeria
Noureddine LOUAHEDJ [Thu, 25 Aug 2016 07:34:27 +0000 (08:34 +0100)] 
Adding locale for Algeria

8 years agoMerge pull request #3416 from kevinzwhuang:migrate-nl-locales
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

8 years agoCleanup nl-nl in favor of nl
Kevin Huang [Wed, 14 Sep 2016 16:59:11 +0000 (09:59 -0700)] 
Cleanup nl-nl in favor of nl

8 years agoRestore ancestor nl locale for nl-nl and nl-be
Kevin Huang [Mon, 5 Sep 2016 07:40:50 +0000 (00:40 -0700)] 
Restore ancestor nl locale for nl-nl and nl-be

8 years agoCreate nl-be (Belgium) locale & redefine nl (Netherlands) to nl-nl
Kevin Huang [Fri, 2 Sep 2016 07:52:53 +0000 (00:52 -0700)] 
Create nl-be (Belgium) locale & redefine nl (Netherlands) to nl-nl

8 years agoMerge pull request #3429 from judikdavid:update-hu-locale
Iskren Chernev [Sun, 6 Nov 2016 10:05:10 +0000 (02:05 -0800)] 
Merge pull request #3429 from judikdavid:update-hu-locale

[locale] hu: Change week year start to ISO

8 years agoUpdate hu.js locale
David Judik [Mon, 12 Sep 2016 12:01:33 +0000 (14:01 +0200)] 
Update hu.js locale

Change the first day of the year and related tests to
match the right Hungarian week of the year calculation.

8 years agoMerge pull request #3448 from tomalec:patch-1
Iskren Chernev [Sun, 6 Nov 2016 10:03:39 +0000 (02:03 -0800)] 
Merge pull request #3448 from tomalec:patch-1

[misc] Add ISSUE_TEMPLATE.md and typing-tests to bower ignores

8 years agoAdd ISSUE_TEMPLATE.md and typing-tests to bower ignores
Tomek Wytrębowicz [Fri, 16 Sep 2016 17:02:01 +0000 (19:02 +0200)] 
Add ISSUE_TEMPLATE.md and typing-tests to bower ignores

8 years agoMerge pull request #3490 from ichernev:fix-ts
Iskren Chernev [Sun, 6 Nov 2016 10:01:22 +0000 (02:01 -0800)] 
Merge pull request #3490 from ichernev:fix-ts

[misc] typescript: Fix all outstanding TypeScript issues

8 years agoRemove TODO
Iskren Chernev [Sun, 6 Nov 2016 09:59:14 +0000 (01:59 -0800)] 
Remove TODO

8 years agoRemove most commented code and add proper deprecation
Iskren Chernev [Sun, 6 Nov 2016 09:55:07 +0000 (01:55 -0800)] 
Remove most commented code and add proper deprecation

8 years agoFix date shortcut
Iskren Chernev [Sun, 6 Nov 2016 09:44:20 +0000 (01:44 -0800)] 
Fix date shortcut

8 years agoFinish locale refactor, todos and tests.
Iskren Chernev [Thu, 20 Oct 2016 06:39:40 +0000 (23:39 -0700)] 
Finish locale refactor, todos and tests.

8 years agoSecond batch, finished moment and duration protos
Iskren Chernev [Mon, 10 Oct 2016 09:02:35 +0000 (02:02 -0700)] 
Second batch, finished moment and duration protos

8 years agoFirst batch fixing #3419: approx until moment.fn.lang
Iskren Chernev [Sun, 9 Oct 2016 09:53:35 +0000 (02:53 -0700)] 
First batch fixing #3419: approx until moment.fn.lang

8 years agoMerge pull request #3498 from RIanDeLaCruz:develop
Iskren Chernev [Sun, 6 Nov 2016 09:40:02 +0000 (01:40 -0800)] 
Merge pull request #3498 from RIanDeLaCruz:develop

[locale] tl-ph: Update calendar strings

8 years agoFix sameDay translation
Ian De La Cruz [Thu, 13 Oct 2016 09:35:48 +0000 (17:35 +0800)] 
Fix sameDay translation

8 years agoUpdate tl-ph test
Ian De La Cruz [Sat, 13 Aug 2016 14:49:19 +0000 (22:49 +0800)] 
Update tl-ph test

8 years agoUpdate tl-ph.js
Ian De La Cruz [Sat, 13 Aug 2016 14:43:20 +0000 (22:43 +0800)] 
Update tl-ph.js

8 years agoMerge pull request #3502 from markstos:fix-3500-iso-regex-problem
Iskren Chernev [Sun, 6 Nov 2016 09:37:49 +0000 (01:37 -0800)] 
Merge pull request #3502 from markstos:fix-3500-iso-regex-problem

[bugfix] Fix #3500: ISO 8601 parsing should match the full string, not the beginning of the string.

8 years agoFix invalid ISO format dates in the test suite.
Mark Stosberg [Wed, 19 Oct 2016 13:42:23 +0000 (09:42 -0400)] 
Fix invalid ISO format dates in the test suite.

Fixing the strictness of ISO date parsing exposed this invalid ISO format dates
which included a time zone offset without including a time.

By appending a time of "00:00:00" to the date strings they became ISO-valid again
without changing the meaning of the test.

8 years agoFix #3500: ISO 8601 parsing should match the full string, not the beginning of the...
Mark Stosberg [Thu, 13 Oct 2016 21:04:54 +0000 (17:04 -0400)] 
Fix #3500: ISO 8601 parsing should match the full string, not the beginning of the string.

Because of the nature of the how related tests are put together, the newly added test
*passes* even before the fix is applied.

This happens because the "non-ISO" tests are tested against the same ISO which is being fixed.

Because the broken regex is also used in the test, it allowed the non ISO date to be validated
before the fix.

8 years agoMerge pull request #3515 from markstos:hotfix-issue-2300
Iskren Chernev [Sun, 6 Nov 2016 09:36:03 +0000 (01:36 -0800)] 
Merge pull request #3515 from markstos:hotfix-issue-2300

[feature] Fix #2300: Default to current week.

8 years agoFix #2300: Default to current week.
Brian Schemp [Tue, 30 Aug 2016 04:09:52 +0000 (18:09 -1000)] 
Fix #2300: Default to current week.

This update to Brian Schemp's patch calculates the current week once
instead of twice for a small performance boost.

8 years agoMerge pull request #3523 from icambron:parseZone
Iskren Chernev [Sun, 6 Nov 2016 09:32:48 +0000 (01:32 -0800)] 
Merge pull request #3523 from icambron:parseZone

[bugfix] parseZone should handle UTC

8 years agoparseZone should handle UTC
Isaac Cambron [Sun, 23 Oct 2016 05:09:15 +0000 (01:09 -0400)] 
parseZone should handle UTC

8 years agoMerge pull request #3530 from johncrisostomo:develop
Iskren Chernev [Sun, 6 Nov 2016 09:31:10 +0000 (01:31 -0800)] 
Merge pull request #3530 from johncrisostomo:develop

[feature] Check whether input is date before checking if format is array

8 years agofixes issue #3529
John Crisostomo [Sat, 29 Oct 2016 09:18:16 +0000 (17:18 +0800)] 
fixes issue #3529

8 years agoMerge pull request #3573 from ichernev:rm-babel
Iskren Chernev [Sun, 6 Nov 2016 09:29:11 +0000 (01:29 -0800)] 
Merge pull request #3573 from ichernev:rm-babel

[build] Remove babel from rollup+babel combo to speed up build

8 years agoRemove babel from rollup+babel combo to speed up build (and we're not using it anyway) 3573/head
Iskren Chernev [Sun, 6 Nov 2016 09:24:58 +0000 (01:24 -0800)] 
Remove babel from rollup+babel combo to speed up build (and we're not using it anyway)

8 years agoMerge pull request #3538 from meteor:fix-issue-3531
Iskren Chernev [Sun, 6 Nov 2016 09:13:55 +0000 (01:13 -0800)] 
Merge pull request #3538 from meteor:fix-issue-3531

[pkg] Publish Meteor package from meteor directory to fix #3531

8 years agoPublish Meteor package from meteor directory to fix #3531.
Ben Newman [Thu, 27 Oct 2016 18:48:54 +0000 (11:48 -0700)] 
Publish Meteor package from meteor directory to fix #3531.

8 years agoMerge pull request #3543 from ichernev:ar-sa-dow
Iskren Chernev [Sun, 6 Nov 2016 09:00:10 +0000 (01:00 -0800)] 
Merge pull request #3543 from ichernev:ar-sa-dow

[locale] ar-sa: Change start of week from Saturday to Sunday

8 years ago[ar-sa] Change start of week from Saturday to Sunday
Iskren Chernev [Sat, 29 Oct 2016 01:57:03 +0000 (18:57 -0700)] 
[ar-sa] Change start of week from Saturday to Sunday

8 years agoMerge pull request #3546 from ichernev:fix-locale-race
Iskren Chernev [Sun, 6 Nov 2016 08:55:30 +0000 (01:55 -0700)] 
Merge pull request #3546 from ichernev:fix-locale-race

[bugfix] Implement lazy-loading of child locales with missing prents

8 years agoImplement lazy-loading of child locales with missing prents
Iskren Chernev [Sat, 29 Oct 2016 04:57:14 +0000 (21:57 -0700)] 
Implement lazy-loading of child locales with missing prents

8 years agoMerge pull request #3545 from ichernev:babel-redo
Iskren Chernev [Sun, 6 Nov 2016 08:48:52 +0000 (01:48 -0700)] 
Merge pull request #3545 from ichernev:babel-redo

[build] Use rollup and babel instead of esperanto for transpiling

8 years agoUse ES5 for transpile script, too much meta
Iskren Chernev [Wed, 2 Nov 2016 05:32:49 +0000 (22:32 -0700)] 
Use ES5 for transpile script, too much meta

8 years agoRandom thing failing around DST
Iskren Chernev [Tue, 1 Nov 2016 13:58:49 +0000 (13:58 +0000)] 
Random thing failing around DST

8 years agojshint satisfaction
Iskren Chernev [Tue, 1 Nov 2016 13:58:32 +0000 (13:58 +0000)] 
jshint satisfaction

8 years agoAdd rollup and rollup-plugin-babel to package.json
Iskren Chernev [Tue, 1 Nov 2016 12:54:55 +0000 (12:54 +0000)] 
Add rollup and rollup-plugin-babel to package.json

8 years agoFix moment-with-locales and customization and add locale parent checks
Iskren Chernev [Sat, 29 Oct 2016 15:06:36 +0000 (16:06 +0100)] 
Fix moment-with-locales and customization and add locale parent checks

8 years agoFix transpile-row and make linter happy
Iskren Chernev [Sat, 29 Oct 2016 14:33:51 +0000 (15:33 +0100)] 
Fix transpile-row and make linter happy

8 years agoApply custom header to generated files
Iskren Chernev [Sat, 29 Oct 2016 07:10:36 +0000 (00:10 -0700)] 
Apply custom header to generated files

8 years agoRemove unused templates
Iskren Chernev [Sat, 29 Oct 2016 07:09:03 +0000 (00:09 -0700)] 
Remove unused templates

8 years agoInitial working version
Iskren Chernev [Sat, 29 Oct 2016 06:52:05 +0000 (23:52 -0700)] 
Initial working version

8 years agoMerge pull request #3567 from ichernev:drop-0.10-travis
Iskren Chernev [Sun, 6 Nov 2016 08:44:53 +0000 (01:44 -0700)] 
Merge pull request #3567 from ichernev:drop-0.10-travis

[build] Drop 0.10 environment from .travis.yml

8 years agoDrop 0.10 environment from .travis.yml
Iskren Chernev [Sat, 5 Nov 2016 04:36:13 +0000 (21:36 -0700)] 
Drop 0.10 environment from .travis.yml

8 years agoFix buggy test around DST
Iskren Chernev [Sun, 6 Nov 2016 08:44:13 +0000 (01:44 -0700)] 
Fix buggy test around DST

8 years agolicense typo
Maggie Pint [Tue, 1 Nov 2016 03:10:40 +0000 (20:10 -0700)] 
license typo