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

8 years agoupdate contributing and license for JS Foundation
Maggie Pint [Tue, 1 Nov 2016 02:34:56 +0000 (19:34 -0700)] 
update contributing and license for JS Foundation

8 years agoUpdate CHANGELOG.md
Matt Johnson [Mon, 24 Oct 2016 17:35:00 +0000 (10:35 -0700)] 
Update CHANGELOG.md

8 years agoBuild 2.15.2 2.15.2
Iskren Chernev [Mon, 24 Oct 2016 06:42:14 +0000 (23:42 -0700)] 
Build 2.15.2

8 years agoBump version to 2.15.2
Iskren Chernev [Mon, 24 Oct 2016 06:40:15 +0000 (23:40 -0700)] 
Bump version to 2.15.2

8 years agoUpdate changelog for 2.15.2
Iskren Chernev [Mon, 24 Oct 2016 06:39:35 +0000 (23:39 -0700)] 
Update changelog for 2.15.2

8 years agoMerge pull request #3466 from tgfjt:fix/japanese-javanese
Iskren Chernev [Mon, 24 Oct 2016 06:33:58 +0000 (23:33 -0700)] 
Merge pull request #3466 from tgfjt:fix/japanese-javanese

[misc] Fix typo of Javanese

8 years agoFix typo of Javanese
tgfjt [Sun, 25 Sep 2016 11:23:09 +0000 (20:23 +0900)] 
Fix typo of Javanese

Jawa language is Javanese not Japanese.

8 years agoMerge pull request #3525 from ichernev:speedup-regex
Iskren Chernev [Mon, 24 Oct 2016 06:32:21 +0000 (23:32 -0700)] 
Merge pull request #3525 from ichernev:speedup-regex

[misc] Speedup month standalone/format regexes

8 years agoSpeedup lithuanian month standalone/format RegExp 3525/head
Iskren Chernev [Mon, 24 Oct 2016 06:18:58 +0000 (23:18 -0700)] 
Speedup lithuanian month standalone/format RegExp

8 years agoSpeedup default month format/standalone regex
Iskren Chernev [Mon, 24 Oct 2016 06:16:58 +0000 (23:16 -0700)] 
Speedup default month format/standalone regex

8 years agoBuild 2.15.1 2.15.1
Iskren Chernev [Wed, 21 Sep 2016 03:33:57 +0000 (20:33 -0700)] 
Build 2.15.1

8 years agoBump version to 2.15.1
Iskren Chernev [Wed, 21 Sep 2016 03:32:29 +0000 (20:32 -0700)] 
Bump version to 2.15.1

8 years agoUpdate changelog for 2.15.1
Iskren Chernev [Wed, 21 Sep 2016 03:31:32 +0000 (20:31 -0700)] 
Update changelog for 2.15.1

8 years agoMerge pull request #3438 from ichernev:fix-locale-autoload
Iskren Chernev [Wed, 21 Sep 2016 03:07:12 +0000 (20:07 -0700)] 
Merge pull request #3438 from ichernev:fix-locale-autoload

[bugfix] Fix locale autoload, revert #3344

8 years agoRevert "Merge pull request #3344 from yiminghe:module_require"
Iskren Chernev [Thu, 15 Sep 2016 07:05:32 +0000 (00:05 -0700)] 
Revert "Merge pull request #3344 from yiminghe:module_require"

This reverts commit bb6a30e3e9a1b2022b68794b30dd68ed561aa847, reversing
changes made to d4c5f8e8b503a590e6661a3ae5510b92f1c43631.

8 years agoMerge pull request #3404 from anotheredward/patch-1
Matt Johnson [Wed, 14 Sep 2016 16:55:33 +0000 (09:55 -0700)] 
Merge pull request #3404 from anotheredward/patch-1

add license to bower.json

8 years agoUpdate Moment.js.nuspec authors and put releaseNotes (not used for 2.15.0 unfortunately)
Iskren Chernev [Tue, 13 Sep 2016 05:06:21 +0000 (22:06 -0700)] 
Update Moment.js.nuspec authors and put releaseNotes (not used for 2.15.0 unfortunately)

8 years agoAdd meteor/package.js to bump version script
Iskren Chernev [Tue, 13 Sep 2016 04:56:47 +0000 (21:56 -0700)] 
Add meteor/package.js to bump version script

8 years agoUse fixed version in meteor/package.js
Iskren Chernev [Tue, 13 Sep 2016 04:57:19 +0000 (21:57 -0700)] 
Use fixed version in meteor/package.js

8 years agoBuild 2.15.0 2.15.0
Iskren Chernev [Mon, 12 Sep 2016 08:47:46 +0000 (01:47 -0700)] 
Build 2.15.0

8 years agoBump version to 2.15.0
Iskren Chernev [Mon, 12 Sep 2016 08:46:17 +0000 (01:46 -0700)] 
Bump version to 2.15.0

8 years agoUpdate changelog for 2.15.0
Iskren Chernev [Mon, 12 Sep 2016 08:45:30 +0000 (01:45 -0700)] 
Update changelog for 2.15.0

8 years agoMerge pull request #3427 from ichernev:fix-ie8
Iskren Chernev [Mon, 12 Sep 2016 07:08:41 +0000 (00:08 -0700)] 
Merge pull request #3427 from ichernev:fix-ie8

[misc] ie8: Fix IE8

8 years agoDetect Date().toISOString before using it in tests for IE8 3427/head
Iskren Chernev [Mon, 12 Sep 2016 06:52:47 +0000 (23:52 -0700)] 
Detect Date().toISOString before using it in tests for IE8

8 years agoExclude ro locale from weekday parsing safety checks
Iskren Chernev [Mon, 12 Sep 2016 06:52:25 +0000 (23:52 -0700)] 
Exclude ro locale from weekday parsing safety checks

8 years agoFix isObject in IE8
Iskren Chernev [Mon, 12 Sep 2016 06:51:31 +0000 (23:51 -0700)] 
Fix isObject in IE8

8 years agoMerge pull request #3345 from webbiesdk:updateTo214
Iskren Chernev [Wed, 7 Sep 2016 08:40:19 +0000 (01:40 -0700)] 
Merge pull request #3345 from webbiesdk:updateTo214

[misc] typescript: Add isoWeekdays(str), locales, defaultFormatUtc

8 years agoUpdated the declaration file.
Erik Krogh Kristensen [Tue, 2 Aug 2016 12:19:02 +0000 (14:19 +0200)] 
Updated the declaration file.
Added locales, new since 2.12
Added a new overload of isoWeekday, which is possible since the input is passed through `parseIsoWeekday` since 2.14
Added defaultFormatUtc, new since 2.13.

8 years agoMerge pull request #3323 from seansfkelley:union-types-for-typings
Iskren Chernev [Wed, 7 Sep 2016 08:38:40 +0000 (01:38 -0700)] 
Merge pull request #3323 from seansfkelley:union-types-for-typings

[misc] typescript: refactor constructor and ISO format hack

8 years agoMake moment's typings for parsing stricter and also allow them to accept union types.
Sean Kelley [Sun, 24 Jul 2016 09:45:09 +0000 (11:45 +0200)] 
Make moment's typings for parsing stricter and also allow them to accept union types.

This commit was adapted from 1ec036686e70ad0d837ed2443684d54bca13af01 in DefinitelyTyped.
See https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8765 for context. The original
body of the commit message follows.

These changes do two things.

1. Replace very lax typings like `any[]` with stricter, more-correct versions. In particular,
the ISO_8601 constant, while /technically/ a void function, is actually an opaque sentinel
that a consumer should not know anything about it. The function type was replaced with a
sentinel type using the principle of "brands" that can be seen in the Typescript compiler:
https://github.com/Microsoft/TypeScript/blob/413d9a639f933df7539070b236c1677de8302a93/src/compiler/types.ts#L9

2. Replace the many overloads of the parsing methods with a smaller representative set that
uses union types instead. Aside from succinctness, this allows callers to provide a union
type as the argument, as long as it matches, which was not possible before (Typescript does
not explode the union type to see if overloads cover all the possibilities).

8 years agoMerge pull request #3316 from gachou:develop
Iskren Chernev [Wed, 7 Sep 2016 08:32:52 +0000 (01:32 -0700)] 
Merge pull request #3316 from gachou:develop

[misc] typescript: Add moment().creationData() declaration

8 years agoAdd #creationData() to TypeScript interface in moment.d.ts
Nils Knappmeier [Fri, 10 Jun 2016 12:33:12 +0000 (14:33 +0200)] 
Add #creationData() to TypeScript interface in moment.d.ts

8 years agoMerge pull request #3303 from poke:develop
Iskren Chernev [Wed, 7 Sep 2016 08:29:42 +0000 (01:29 -0700)] 
Merge pull request #3303 from poke:develop

[misc] typescript: Add 'date' to UnitOfTime

8 years agoAdd date to UnitOfTime
Patrick Westerhoff [Thu, 14 Jul 2016 14:26:49 +0000 (16:26 +0200)] 
Add date to UnitOfTime

- `date` refers to the day of the month
- `day` refers to the day of the week

8 years agoMerge pull request #3282 from johnnyreilly:develop
Iskren Chernev [Wed, 7 Sep 2016 07:24:55 +0000 (00:24 -0700)] 
Merge pull request #3282 from johnnyreilly:develop

[misc] typescript: Ensure moment.d.ts is tested for syntax

8 years agoMake sure to run typescript tests with regular tests
Iskren Chernev [Wed, 7 Sep 2016 07:15:40 +0000 (00:15 -0700)] 
Make sure to run typescript tests with regular tests

8 years agoDo NOT depend on global typescript installation
Iskren Chernev [Wed, 7 Sep 2016 07:15:17 +0000 (00:15 -0700)] 
Do NOT depend on global typescript installation

8 years agoDrop usage of moduleResolution
John Reilly [Sun, 4 Sep 2016 20:08:49 +0000 (21:08 +0100)] 
Drop usage of moduleResolution

8 years agoMoved to use Grunt approach to run TypeScript tests as suggested here: https://github...
John Reilly [Sat, 20 Aug 2016 14:40:09 +0000 (15:40 +0100)] 
Moved to use Grunt approach to run TypeScript tests as suggested here: https://github.com/moment/moment/pull/3282#issuecomment-239356967

8 years agoTrigger npm run test-typings in Travis CI build
John Reilly [Mon, 4 Jul 2016 10:31:38 +0000 (11:31 +0100)] 
Trigger npm run test-typings in Travis CI build

8 years agoAdd TypeScript as a dev dependency
John Reilly [Mon, 4 Jul 2016 10:25:54 +0000 (11:25 +0100)] 
Add TypeScript as a dev dependency

8 years agoAdd tests for moment.d.ts
John Reilly [Mon, 4 Jul 2016 10:18:24 +0000 (11:18 +0100)] 
Add tests for moment.d.ts

as discussed in https://github.com/moment/moment/pull/3280

8 years agoMerge pull request #3273 from tamird:patch-1
Iskren Chernev [Sun, 4 Sep 2016 07:49:00 +0000 (00:49 -0700)] 
Merge pull request #3273 from tamird:patch-1

[pkg] jspm: Include moment.d.ts file in package

8 years agoInclude moment.d.ts file in packages (jspm)
Tamir Duberstein [Sat, 2 Jul 2016 21:00:49 +0000 (17:00 -0400)] 
Include moment.d.ts file in packages (jspm)

Similar to aea2a8961bc4dbff0471d0615af1f4fb98fc81d7 and required for
use with https://github.com/frankwallis/plugin-typescript.

8 years agoMerge pull request #3398 from JohnMacAslan:shorten-thai-LT
Iskren Chernev [Sat, 3 Sep 2016 07:11:10 +0000 (00:11 -0700)] 
Merge pull request #3398 from JohnMacAslan:shorten-thai-LT

[locale] th: Shorten LT and LTS formats

8 years agoshorten Thai LT and LTS formats
John MacAslan [Thu, 25 Aug 2016 21:09:56 +0000 (17:09 -0400)] 
shorten Thai LT and LTS formats

8 years agoMerge pull request #3396 from fidelpita:develop
Iskren Chernev [Sat, 3 Sep 2016 06:47:02 +0000 (23:47 -0700)] 
Merge pull request #3396 from fidelpita:develop

[locale] gl: Improve month, weekday names, datetime formats, doy

8 years agoCorrections to Galician locale
Fidel Pita [Thu, 25 Aug 2016 11:05:14 +0000 (13:05 +0200)] 
Corrections to Galician locale

 - Months and days of week changed to lowercase
 - "en" + "un*" contraction for future times has been generalized
 - Corrected first week of the year (ISO 8601)

8 years agoMerge pull request #3388 from CorasWorksSolutions:develop
Iskren Chernev [Sat, 3 Sep 2016 06:33:02 +0000 (23:33 -0700)] 
Merge pull request #3388 from CorasWorksSolutions:develop

[misc] ISO deprecation clarification and better deprecation trace

8 years agoUpdate deprecate function to expand values of an argument which is an object
CorasWorksSolutions [Mon, 22 Aug 2016 16:14:09 +0000 (12:14 -0400)] 
Update deprecate function to expand values of an argument which is an object

8 years agoUpdate deprecation message for non ISO dates to be more explicit
CorasWorksSolutions [Mon, 22 Aug 2016 16:09:01 +0000 (12:09 -0400)] 
Update deprecation message for non ISO dates to be more explicit

8 years agoMerge pull request #3383 from ben-ng:develop
Iskren Chernev [Sat, 3 Sep 2016 06:31:20 +0000 (23:31 -0700)] 
Merge pull request #3383 from ben-ng:develop

[bugfix] toJSON: Fix isValid so that toJSON works after a moment is frozen

8 years agoIncorporate discussed changes
Iskren Chernev [Sat, 3 Sep 2016 06:29:42 +0000 (23:29 -0700)] 
Incorporate discussed changes

8 years agoFix isValid so that toJSON works after a moment is frozen
Ben Ng [Fri, 19 Aug 2016 14:34:31 +0000 (10:34 -0400)] 
Fix isValid so that toJSON works after a moment is frozen

8 years agoMerge pull request #3381 from schempy:hotfix-issue-3083
Iskren Chernev [Sat, 3 Sep 2016 06:14:16 +0000 (23:14 -0700)] 
Merge pull request #3381 from schempy:hotfix-issue-3083

[bugfix] parsing: Fix parseZone without timezone in string, fixes #3083

8 years agoFixed parseZone without timezone returning unexpected result
Brian Schemp [Fri, 19 Aug 2016 03:14:33 +0000 (17:14 -1000)] 
Fixed parseZone without timezone returning unexpected result

8 years agoMerge pull request #3372 from joineral32:develop
Iskren Chernev [Sat, 3 Sep 2016 06:08:17 +0000 (23:08 -0700)] 
Merge pull request #3372 from joineral32:develop

[misc] benchmarks: Add add, subtract, endOf, query benchmarks

8 years agoAdded benchmarks for some supported operations
joineral32 [Mon, 15 Aug 2016 21:29:49 +0000 (17:29 -0400)] 
Added benchmarks for some supported operations

8 years agoMerge pull request #3356 from shaishavgandhi05:develop
Iskren Chernev [Sat, 3 Sep 2016 06:06:10 +0000 (23:06 -0700)] 
Merge pull request #3356 from shaishavgandhi05:develop

[locale] bs hr me sl sr sr-cyrl: Change 'DD. MM. YYYY' to 'DD.MM.YYYY' in L

8 years agoAdded commits
shaishavgandhi05 [Sat, 6 Aug 2016 05:04:22 +0000 (01:04 -0400)] 
Added commits

Signed-off-by: shaishavgandhi05 <shaishgandhi@gmail.com>
8 years agoChanged 'DD. MM. YYYY' to 'DD.MM.YYYY'
shaishavgandhi05 [Sat, 6 Aug 2016 04:19:48 +0000 (00:19 -0400)] 
Changed 'DD. MM. YYYY' to 'DD.MM.YYYY'

Signed-off-by: shaishavgandhi05 <shaishgandhi@gmail.com>
8 years agoMerge pull request #3344 from yiminghe:module_require
Iskren Chernev [Sat, 3 Sep 2016 06:00:05 +0000 (23:00 -0700)] 
Merge pull request #3344 from yiminghe:module_require

[pkg] exports: use module.require for nodejs

8 years agouse module.require for nodejs
yiminghe [Tue, 2 Aug 2016 10:50:14 +0000 (18:50 +0800)] 
use module.require for nodejs

8 years agoMerge pull request #3339 from jfarid27:fix-issue-3338
Iskren Chernev [Sat, 3 Sep 2016 05:56:46 +0000 (22:56 -0700)] 
Merge pull request #3339 from jfarid27:fix-issue-3338

[tests] Test creation of moment with format and undefined input

8 years agofixes #3338
J. Farid [Fri, 29 Jul 2016 19:10:40 +0000 (15:10 -0400)] 
fixes #3338

8 years agoMerge pull request #3333 from skfd:feature-loc-zh-hk
Iskren Chernev [Sat, 3 Sep 2016 05:53:37 +0000 (22:53 -0700)] 
Merge pull request #3333 from skfd:feature-loc-zh-hk

[new locale] zh-hk: Chinese (Hong Kong) locale

8 years agofix comments
Konstantin Konev [Thu, 28 Jul 2016 20:56:01 +0000 (23:56 +0300)] 
fix comments

8 years ago`zh-hk` support.
Konstantin Konev [Thu, 28 Jul 2016 20:49:58 +0000 (23:49 +0300)] 
`zh-hk` support.

8 years agoMerge pull request #3326 from abeja-inc:develop
Iskren Chernev [Sat, 3 Sep 2016 05:49:59 +0000 (22:49 -0700)] 
Merge pull request #3326 from abeja-inc:develop

[locale] jv: Fix full locale name -- Japanese to JaVanese

8 years agoJapanese to JaVanese in jv.js
lunardog [Wed, 27 Jul 2016 04:58:35 +0000 (13:58 +0900)] 
Japanese to JaVanese in jv.js

8 years agoMerge pull request #3322 from pranjalk:develop
Iskren Chernev [Sat, 3 Sep 2016 05:47:34 +0000 (22:47 -0700)] 
Merge pull request #3322 from pranjalk:develop

[misc] Updated Changelog to add release dates

8 years agoUpdate CHANGELOG.md
Pranjal Kumar [Sun, 24 Jul 2016 07:18:03 +0000 (12:48 +0530)] 
Update CHANGELOG.md

Added Release date in the changelog

8 years agoMerge pull request #3317 from Nicolaidavies:patch-1
Iskren Chernev [Sat, 3 Sep 2016 05:45:29 +0000 (22:45 -0700)] 
Merge pull request #3317 from Nicolaidavies:patch-1

[locale] ss: Fix siSwati locale name in comment

8 years agoChange Locale name
Nicolai Davies [Fri, 22 Jul 2016 08:38:45 +0000 (10:38 +0200)] 
Change Locale name

During the cleanup of the comments, the name was changed from siSwati to Swazi.

A Swazi is a person and siSwati is the language.

8 years agoMerge pull request #3312 from sibennayak:fix/3284
Iskren Chernev [Thu, 1 Sep 2016 10:07:55 +0000 (03:07 -0700)] 
Merge pull request #3312 from sibennayak:fix/3284

[bugfix] locales: Enable locale-datnwithout moment ta getters without moment (fixes #3284)

8 years agoDrop unused import
Iskren Chernev [Thu, 1 Sep 2016 10:06:40 +0000 (03:06 -0700)] 
Drop unused import

8 years agoFixed a jscs error
Siben Nayak [Wed, 20 Jul 2016 09:23:25 +0000 (14:53 +0530)] 
Fixed a jscs error

8 years agoAdded Unit tests (refs #3284)
Siben Nayak [Wed, 20 Jul 2016 09:02:29 +0000 (14:32 +0530)] 
Added Unit tests (refs #3284)

8 years agoFix for locale-data without moment (fixes #3284)
Siben Nayak [Tue, 19 Jul 2016 07:57:04 +0000 (13:27 +0530)] 
Fix for locale-data without moment (fixes #3284)