]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
10 years agoSwitch zone to utcOffset in some tests
Iskren Chernev [Fri, 28 Nov 2014 07:10:06 +0000 (23:10 -0800)] 
Switch zone to utcOffset in some tests

10 years agoRemove zone from comments
Iskren Chernev [Fri, 28 Nov 2014 06:32:13 +0000 (22:32 -0800)] 
Remove zone from comments

10 years agoDeprecate zone function in favor of utcOffset
Iskren Chernev [Fri, 28 Nov 2014 06:24:54 +0000 (22:24 -0800)] 
Deprecate zone function in favor of utcOffset

10 years agoAdd isLocal(), isUtc() == isUTC(), isUtcOffset()
Iskren Chernev [Sun, 23 Nov 2014 09:36:55 +0000 (01:36 -0800)] 
Add isLocal(), isUtc() == isUTC(), isUtcOffset()

10 years agoImplement moment.fn.utcOffset, base moment.fn.zone on top
Iskren Chernev [Sun, 23 Nov 2014 09:26:45 +0000 (01:26 -0800)] 
Implement moment.fn.utcOffset, base moment.fn.zone on top

10 years agoStyle changes in tests
Iskren Chernev [Sun, 23 Nov 2014 09:24:53 +0000 (01:24 -0800)] 
Style changes in tests

10 years agoMerge pull request #2088 from stoeffel:develop
Iskren Chernev [Wed, 24 Dec 2014 21:28:44 +0000 (13:28 -0800)] 
Merge pull request #2088 from stoeffel:develop

add isBetween

10 years agoadd isBetween
Christoph Hermann [Mon, 8 Dec 2014 21:15:13 +0000 (22:15 +0100)] 
add isBetween

closes #2087

10 years agoMerge pull request #2090 from amire80:esrim-shana
Iskren Chernev [Wed, 24 Dec 2014 21:27:49 +0000 (13:27 -0800)] 
Merge pull request #2090 from amire80:esrim-shana

Add a special case for years in Hebrew locale

10 years agoChanged if to else if
Amir E. Aharoni [Tue, 9 Dec 2014 07:03:39 +0000 (09:03 +0200)] 
Changed if to else if

According to @tomer's suggestion.

10 years agoAdd a special case for years in Hebrew locale
Amir E. Aharoni [Tue, 9 Dec 2014 00:26:07 +0000 (02:26 +0200)] 
Add a special case for years in Hebrew locale

In Hebrew years that end with a zero except 10 (20, 30, 100, etc.)
use a different plural form, which is identical to the singular.

I added this form.

This is also used by the CLDR plural rules.

10 years agoMerge pull request #2097 from tunpixel:develop
Iskren Chernev [Wed, 24 Dec 2014 21:25:24 +0000 (13:25 -0800)] 
Merge pull request #2097 from tunpixel:develop

add ar-tn locale

10 years agoadd ar-tn locale
Nader Toukabri [Thu, 11 Dec 2014 15:47:49 +0000 (16:47 +0100)] 
add ar-tn locale

10 years agoMerge pull request #2098 from ichernev:nuget
Iskren Chernev [Wed, 24 Dec 2014 21:24:50 +0000 (13:24 -0800)] 
Merge pull request #2098 from ichernev:nuget

Add nuget publishing support

10 years agoAdd nuget publishing support
Iskren Chernev [Sun, 14 Dec 2014 21:27:25 +0000 (13:27 -0800)] 
Add nuget publishing support

10 years agoMerge pull request #2104 from robin0van0der0v:patch-1
Iskren Chernev [Wed, 24 Dec 2014 21:22:44 +0000 (13:22 -0800)] 
Merge pull request #2104 from robin0van0der0v:patch-1

Frisian (fy) language file with unit test

10 years agoUpdate fy.js
Robin van der Vliet [Tue, 16 Dec 2014 22:06:37 +0000 (23:06 +0100)] 
Update fy.js

10 years agoCreate fy.js
Robin van der Vliet [Tue, 16 Dec 2014 21:53:58 +0000 (22:53 +0100)] 
Create fy.js

10 years agoCreate fy.js
Robin van der Vliet [Tue, 16 Dec 2014 21:53:15 +0000 (22:53 +0100)] 
Create fy.js

10 years agoMerge pull request #2117 from butterflyhug:global-scope-hack
Iskren Chernev [Wed, 24 Dec 2014 21:19:56 +0000 (13:19 -0800)] 
Merge pull request #2117 from butterflyhug:global-scope-hack

Add globalScope hack to more reliably distinguish Node vs browser

10 years agoAdd globalScope hack to more reliably distinguish Node vs browser 2117/head
Lucas Sanders [Mon, 22 Dec 2014 14:40:13 +0000 (09:40 -0500)] 
Add globalScope hack to more reliably distinguish Node vs browser

See #2092: browser-based apps that have DOM nodes with the id
"global" were being detected as Node apps for purposes of assigning
moment to the runtime's global namespace.  This change is intended
to fix that issue for most practical use cases, hopefully without
breaking anyone's existing usage.

Algorithm:  If `global` is not defined, then we want to use
`window`.  If `global` is defined but `window` is not, then we want
to use `global`.  If both `global` and `window` are defined, then
we want to assign to `global` if `window === global.window` --
otherwise we assume that `global === window.global`, in which case
we want to assign to `window`.

10 years agoUse JavaScript instead of javascript in pkg descriptions
Iskren Chernev [Mon, 1 Dec 2014 07:58:05 +0000 (07:58 +0000)] 
Use JavaScript instead of javascript in pkg descriptions

10 years agoMerge pull request #2073 from MeteorPackaging/meteor-integration
Iskren Ivov Chernev [Mon, 1 Dec 2014 06:40:39 +0000 (22:40 -0800)] 
Merge pull request #2073 from MeteorPackaging/meteor-integration

Get rid of the .sh scripts; target all Meteor versions

10 years agoSeparate meteor-publish task, and depend on latest spacejam 2073/head
Dan Dascalescu [Sun, 30 Nov 2014 20:24:44 +0000 (12:24 -0800)] 
Separate meteor-publish task, and depend on latest spacejam

10 years agoGet rid of the .sh scripts; target all Meteor versions
Dan Dascalescu [Sun, 30 Nov 2014 07:15:34 +0000 (23:15 -0800)] 
Get rid of the .sh scripts; target all Meteor versions

10 years agoMore fixes on meteor/publish
Iskren Chernev [Sat, 29 Nov 2014 19:26:24 +0000 (11:26 -0800)] 
More fixes on meteor/publish

10 years agoMerge pull request #2062 from dandv/develop
Iskren Ivov Chernev [Sat, 29 Nov 2014 19:16:41 +0000 (11:16 -0800)] 
Merge pull request #2062 from dandv/develop

Improvements in meteor related files.

10 years agoGrunt task to meteor publish; improved scripts 2062/head
Dan Dascalescu [Sat, 29 Nov 2014 11:11:59 +0000 (03:11 -0800)] 
Grunt task to meteor publish; improved scripts

10 years agoFix Meteor integration and make more robust
Dan Dascalescu [Mon, 24 Nov 2014 03:04:58 +0000 (19:04 -0800)] 
Fix Meteor integration and make more robust

10 years agoFix meteor/publish script
Iskren Chernev [Sun, 23 Nov 2014 05:44:44 +0000 (21:44 -0800)] 
Fix meteor/publish script

10 years agoUpdate bump_version script to work with meteor package
Iskren Chernev [Thu, 20 Nov 2014 18:12:11 +0000 (10:12 -0800)] 
Update bump_version script to work with meteor package

10 years agoMerge pull request #2059 from dandv/develop
Iskren Ivov Chernev [Thu, 20 Nov 2014 18:04:35 +0000 (10:04 -0800)] 
Merge pull request #2059 from dandv/develop

Add packaging for Meteor.js

10 years agoAdd packaging for Meteor.js 2059/head
Dan Dascalescu [Wed, 19 Nov 2014 11:10:51 +0000 (03:10 -0800)] 
Add packaging for Meteor.js

10 years agoBuild 2.8.4 2.8.4
Iskren Chernev [Wed, 19 Nov 2014 04:22:17 +0000 (20:22 -0800)] 
Build 2.8.4

10 years agoBump version to 2.8.4
Iskren Chernev [Wed, 19 Nov 2014 04:20:47 +0000 (20:20 -0800)] 
Bump version to 2.8.4

10 years agoUpdate changelog for 2.8.4
Iskren Chernev [Wed, 19 Nov 2014 04:19:42 +0000 (20:19 -0800)] 
Update changelog for 2.8.4

10 years agoFix global detection in tests
Iskren Chernev [Mon, 17 Nov 2014 18:26:35 +0000 (10:26 -0800)] 
Fix global detection in tests

10 years agoMerge pull request #1933 from szelga:fix-1876
Iskren Chernev [Mon, 17 Nov 2014 17:31:42 +0000 (09:31 -0800)] 
Merge pull request #1933 from szelga:fix-1876

fix #1876

10 years agoShorten switch statement
Iskren Chernev [Mon, 17 Nov 2014 17:31:14 +0000 (09:31 -0800)] 
Shorten switch statement

10 years agosee https://github.com/moment/moment/pull/1933#issuecomment-63302299
Wasil W Siargiejczyk [Mon, 17 Nov 2014 13:49:03 +0000 (18:49 +0500)] 
see https://github.com/moment/moment/pull/1933#issuecomment-63302299

10 years agosee https://github.com/moment/moment/pull/1933#discussion_r18125806
Wasil W Siargiejczyk [Sun, 28 Sep 2014 06:53:38 +0000 (12:53 +0600)] 
see https://github.com/moment/moment/pull/1933#discussion_r18125806

10 years agoadd accusative condition for Russian locale, fix #1876
Wasil W Siargiejczyk [Sun, 21 Sep 2014 11:06:13 +0000 (17:06 +0600)] 
add accusative condition for Russian locale, fix #1876

10 years agomodify tests for Russian locale
Wasil W Siargiejczyk [Sun, 21 Sep 2014 11:05:07 +0000 (17:05 +0600)] 
modify tests for Russian locale

10 years agoalter Russian locale
Wasil W Siargiejczyk [Sun, 21 Sep 2014 10:09:30 +0000 (16:09 +0600)] 
alter Russian locale

10 years agopass present moment to a calendar function
Wasil W Siargiejczyk [Sun, 21 Sep 2014 09:53:32 +0000 (15:53 +0600)] 
pass present moment to a calendar function

10 years agoallow passing additional arguments to calendar function
Wasil W Siargiejczyk [Sun, 21 Sep 2014 09:50:35 +0000 (15:50 +0600)] 
allow passing additional arguments to calendar function

10 years agoMerge pull request #2016 from radekdostal:develop
Iskren Chernev [Mon, 17 Nov 2014 17:23:20 +0000 (09:23 -0800)] 
Merge pull request #2016 from radekdostal:develop

Fix long date format for Czech

10 years agoFix long date format for Czech
Radek Dostál [Wed, 29 Oct 2014 14:52:18 +0000 (15:52 +0100)] 
Fix long date format for Czech

Removed nonbreaking spaces from "L" long date format.

10 years agoMerge pull request #2009 from elliotf:fall_back_to_native_toISOString
Iskren Chernev [Mon, 17 Nov 2014 07:45:36 +0000 (23:45 -0800)] 
Merge pull request #2009 from elliotf:fall_back_to_native_toISOString

Use native toISOString when we can

10 years agoTake advantage of native speed when we can
Elliot Foster [Fri, 24 Oct 2014 23:35:25 +0000 (16:35 -0700)] 
Take advantage of native speed when we can

See #1999

10 years agoMerge pull request #2010 from butterflyhug:fix-locale-warning
Iskren Chernev [Mon, 17 Nov 2014 07:43:02 +0000 (23:43 -0800)] 
Merge pull request #2010 from butterflyhug:fix-locale-warning

Update deprecation warning for moment().lang()

10 years agoUpdate deprecation warning for moment().lang()
Lucas Sanders [Sat, 25 Oct 2014 15:54:46 +0000 (11:54 -0400)] 
Update deprecation warning for moment().lang()

Our advice for users should match our implementation of the
compatibility shim, which uses localeData() as a getter and
locale() as a setter.

10 years agoMerge pull request #1961 from ichernev:add-npm-cleanup-script
Iskren Chernev [Mon, 17 Nov 2014 07:37:03 +0000 (23:37 -0800)] 
Merge pull request #1961 from ichernev:add-npm-cleanup-script

Add a script to prepare moment for npm publish

10 years agoUse whitelist instead of blacklist
Iskren Chernev [Thu, 9 Oct 2014 09:22:55 +0000 (02:22 -0700)] 
Use whitelist instead of blacklist

10 years agoAdd a script to prepare moment for npm publish
Iskren Chernev [Tue, 7 Oct 2014 05:42:13 +0000 (22:42 -0700)] 
Add a script to prepare moment for npm publish

10 years agoMerge pull request #1925 from jsmreese:fix-duration-as-getters
Iskren Chernev [Mon, 17 Nov 2014 07:31:05 +0000 (23:31 -0800)] 
Merge pull request #1925 from jsmreese:fix-duration-as-getters

Fix duration as getters (years and months convert to whole days)

10 years agowhitespace
John Madhavan-Reese [Sat, 13 Sep 2014 04:46:21 +0000 (00:46 -0400)] 
whitespace

10 years agowhitespace
John Madhavan-Reese [Sat, 13 Sep 2014 04:23:27 +0000 (00:23 -0400)] 
whitespace

10 years agoRemoved old duration as getter tests.
John Madhavan-Reese [Sat, 13 Sep 2014 04:18:30 +0000 (00:18 -0400)] 
Removed old duration as getter tests.

10 years agoAdded new duration as getter tests.
John Madhavan-Reese [Sat, 13 Sep 2014 04:17:24 +0000 (00:17 -0400)] 
Added new duration as getter tests.

10 years agoUse Math.round instead of Math.floor for more realistic days output.
John Madhavan-Reese [Fri, 12 Sep 2014 21:16:07 +0000 (17:16 -0400)] 
Use Math.round instead of Math.floor for more realistic days output.

10 years agoComment out old duration as getter tests.
John Madhavan-Reese [Fri, 12 Sep 2014 21:05:33 +0000 (17:05 -0400)] 
Comment out old duration as getter tests.

10 years agoRound yearsToDays output to a whole number.
John Madhavan-Reese [Fri, 12 Sep 2014 21:00:07 +0000 (17:00 -0400)] 
Round yearsToDays output to a whole number.

10 years agoMerge pull request #2008 from ichernev:fix-end-of
Iskren Chernev [Mon, 17 Nov 2014 07:17:02 +0000 (23:17 -0800)] 
Merge pull request #2008 from ichernev:fix-end-of

Fix endOf handling of no-arg and ms

10 years agoFix endOf handling of no-arg and ms
Iskren Chernev [Fri, 24 Oct 2014 07:37:07 +0000 (11:37 +0400)] 
Fix endOf handling of no-arg and ms

10 years agoMerge pull request #2003 from ichernev:detect-big-hours
Iskren Chernev [Mon, 17 Nov 2014 06:54:30 +0000 (22:54 -0800)] 
Merge pull request #2003 from ichernev:detect-big-hours

Detect hours above 12 with h/hh tokens

10 years agoDetect hours above 12 with h/hh tokens
Iskren Chernev [Wed, 22 Oct 2014 18:00:30 +0000 (11:00 -0700)] 
Detect hours above 12 with h/hh tokens

Update the docs about parsingFlags to include bigHour key.
Fixes #1734

10 years agoMerge pull request #2002 from ichernev:accept-date-key-object
Iskren Chernev [Mon, 17 Nov 2014 06:50:28 +0000 (22:50 -0800)] 
Merge pull request #2002 from ichernev:accept-date-key-object

Accept 'date' when creating moment with object

10 years agoAccept 'date' when creating moment with object
Iskren Chernev [Wed, 22 Oct 2014 17:17:30 +0000 (10:17 -0700)] 
Accept 'date' when creating moment with object

10 years agoMerge pull request #1992 from ichernev:bugfix/strict-month-parsing
Iskren Chernev [Mon, 17 Nov 2014 06:39:15 +0000 (22:39 -0800)] 
Merge pull request #1992 from ichernev:bugfix/strict-month-parsing

Fix strict month parsing of abbreviated/full months

10 years agoMake jscs happy
Iskren Chernev [Wed, 22 Oct 2014 17:21:55 +0000 (10:21 -0700)] 
Make jscs happy

10 years agoFix strict month parsing of abbreviated/full months
Iskren Chernev [Fri, 17 Oct 2014 09:06:45 +0000 (02:06 -0700)] 
Fix strict month parsing of abbreviated/full months

10 years agoMerge pull request #1974 from ichernev:locale-export
Iskren Chernev [Mon, 17 Nov 2014 06:34:23 +0000 (22:34 -0800)] 
Merge pull request #1974 from ichernev:locale-export

Locale export for meteor server environment

10 years agoFix comment
Iskren Chernev [Fri, 10 Oct 2014 08:27:49 +0000 (01:27 -0700)] 
Fix comment

10 years agoUse global or this instead of window
Iskren Chernev [Fri, 10 Oct 2014 08:24:35 +0000 (01:24 -0700)] 
Use global or this instead of window

10 years agoMerge pull request #1965 from ichernev:support-24
Iskren Chernev [Mon, 17 Nov 2014 06:30:45 +0000 (22:30 -0800)] 
Merge pull request #1965 from ichernev:support-24

Support 24:00:00.000 to mean next day, at midnight.

10 years agoAdd is_valid tests
Iskren Chernev [Mon, 17 Nov 2014 06:30:18 +0000 (22:30 -0800)] 
Add is_valid tests

10 years agoSupport 24:00:00.000 to mean next day, at midnight.
Iskren Chernev [Tue, 7 Oct 2014 10:19:47 +0000 (03:19 -0700)] 
Support 24:00:00.000 to mean next day, at midnight.

10 years agoMerge pull request #1952 from ichernev:bugfix/fix-cmp-functions
Iskren Chernev [Mon, 17 Nov 2014 06:22:05 +0000 (22:22 -0800)] 
Merge pull request #1952 from ichernev:bugfix/fix-cmp-functions

New implementation of isBefore/isSame/isAfter

10 years agoNew implementation of isBefore/isSame/isAfter. Need tests
Iskren Chernev [Sun, 28 Sep 2014 21:59:46 +0000 (14:59 -0700)] 
New implementation of isBefore/isSame/isAfter. Need tests

10 years agoFix broken Catalan tests
Iskren Chernev [Mon, 17 Nov 2014 06:13:50 +0000 (22:13 -0800)] 
Fix broken Catalan tests

10 years agoMerge pull request #1771 from mpal9000:patch-1
Iskren Chernev [Mon, 17 Nov 2014 06:08:02 +0000 (22:08 -0800)] 
Merge pull request #1771 from mpal9000:patch-1

Update el.js

10 years agoUpdate el.js (tests)
mpal9000 [Sun, 13 Jul 2014 20:48:40 +0000 (23:48 +0300)] 
Update el.js (tests)

10 years agoUpdate el.js
mpal9000 [Sun, 13 Jul 2014 19:56:57 +0000 (22:56 +0300)] 
Update el.js

Include the "a few" prefix to `relativeTime.s`.

10 years agoMerge pull request #1898 from endrejeges:develop
Iskren Chernev [Mon, 17 Nov 2014 05:50:07 +0000 (21:50 -0800)] 
Merge pull request #1898 from endrejeges:develop

Bosnian translation of August

10 years agoBosnian translation of August
ejeges [Sat, 30 Aug 2014 10:30:53 +0000 (12:30 +0200)] 
Bosnian translation of August

10 years agoMerge pull request #1928 from grexican:develop
Iskren Chernev [Mon, 17 Nov 2014 05:48:37 +0000 (21:48 -0800)] 
Merge pull request #1928 from grexican:develop

IE11 has module == null which breaks UMD test

10 years agoIn IE11 I'm seeing module being registered as type "object" but is null. This also...
Eli Gassert [Mon, 15 Sep 2014 15:09:57 +0000 (11:09 -0400)] 
In IE11 I'm seeing module being registered as type "object" but is null. This also makes sure that, even if module is not undefined, it is also not null before checking property export.

10 years agoMerge pull request #1960 from doedje:develop
Iskren Chernev [Mon, 17 Nov 2014 05:43:35 +0000 (21:43 -0800)] 
Merge pull request #1960 from doedje:develop

added formatToken 'x' for unix offset in milliseconds #1938

10 years agoadded parseTokenOffsetMs, using toInt() not parseInt(x,10)
Remy Blom [Thu, 9 Oct 2014 07:31:16 +0000 (09:31 +0200)] 
added parseTokenOffsetMs, using toInt() not parseInt(x,10)

10 years agoremoved the unixms function in favor of valueOf()
Remy Blom [Thu, 9 Oct 2014 07:23:09 +0000 (09:23 +0200)] 
removed the unixms function in favor of valueOf()

10 years agoadded formatToken 'x' for unix offset in milliseconds #1938
Remy Blom [Mon, 6 Oct 2014 13:11:39 +0000 (15:11 +0200)] 
added formatToken 'x' for unix offset in milliseconds #1938

10 years agoMerge pull request #1967 from msonsona:develop
Iskren Chernev [Mon, 17 Nov 2014 05:33:58 +0000 (21:33 -0800)] 
Merge pull request #1967 from msonsona:develop

Fix catalan ordinals

10 years agouse feminine suffix for weeks' ordinals
Miquel Sonsona [Mon, 13 Oct 2014 16:58:44 +0000 (18:58 +0200)] 
use feminine suffix for weeks' ordinals

10 years agoFix catalan ordinals
Miquel Sonsona [Tue, 7 Oct 2014 12:22:48 +0000 (14:22 +0200)] 
Fix catalan ordinals

As in https://ca.wikipedia.org/wiki/Numerals_en_catal%C3%A0#Ordinals

10 years agoMerge pull request #1971 from skakz:develop
Iskren Chernev [Mon, 17 Nov 2014 05:29:05 +0000 (21:29 -0800)] 
Merge pull request #1971 from skakz:develop

Fix for Italian calendar time translation for Sunday weekday

10 years agoUpdate it.js
skakz [Thu, 9 Oct 2014 08:19:54 +0000 (10:19 +0200)] 
Update it.js

10 years agoUpdate it.js
skakz [Thu, 9 Oct 2014 08:03:44 +0000 (10:03 +0200)] 
Update it.js

10 years agoUpdate it.js
skakz [Thu, 9 Oct 2014 07:56:53 +0000 (09:56 +0200)] 
Update it.js

10 years agoUpdate it.js
skakz [Thu, 9 Oct 2014 07:29:07 +0000 (09:29 +0200)] 
Update it.js