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

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

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

Display localized time with seconds (Improvement requested in #1997)

10 years agoFix style issue.
Matt Grande [Tue, 21 Oct 2014 23:50:22 +0000 (19:50 -0400)] 
Fix style issue.

10 years agoUpdating localization files and associated tests.
Matt Grande [Tue, 21 Oct 2014 23:37:05 +0000 (19:37 -0400)] 
Updating localization files and associated tests.

10 years agoAdd basic support for Local Time with Seconds (LTS) token. Not yet localized.
Matt Grande [Tue, 21 Oct 2014 14:31:27 +0000 (10:31 -0400)] 
Add basic support for Local Time with Seconds (LTS) token. Not yet localized.

10 years agoMerge pull request #2001 from mj1856:develop
Iskren Chernev [Mon, 17 Nov 2014 05:19:03 +0000 (21:19 -0800)] 
Merge pull request #2001 from mj1856:develop

Handle moment.utc(s) fallback

10 years agoHandle moment.utc(s) fallback
Matt Johnson [Wed, 22 Oct 2014 04:41:09 +0000 (21:41 -0700)] 
Handle moment.utc(s) fallback

Fixes #1983

10 years agoMerge pull request #2004 from ichernev:bugfix-make-as
Iskren Chernev [Mon, 17 Nov 2014 05:16:39 +0000 (21:16 -0800)] 
Merge pull request #2004 from ichernev:bugfix-make-as

Fix makeAs to work with zoned moments

10 years agoFix makeAs to work with zoned moments
Iskren Chernev [Wed, 22 Oct 2014 18:50:29 +0000 (11:50 -0700)] 
Fix makeAs to work with zoned moments

Clone the model to get all plugin data (like zones), than move the time so that
it matches the input and recompute the timezone.

Closes #1952, #1956, #1772

10 years agoMerge pull request #2013 from nchereva/russan-locale-update
Iskren Chernev [Mon, 17 Nov 2014 04:27:17 +0000 (20:27 -0800)] 
Merge pull request #2013 from nchereva/russan-locale-update

Updated russian locale for months.

10 years agoUpdated tests
nchereva [Wed, 29 Oct 2014 11:17:26 +0000 (14:17 +0300)] 
Updated tests

10 years agoUpdated russian locale.
nchereva [Wed, 29 Oct 2014 00:04:14 +0000 (03:04 +0300)] 
Updated russian  locale.

Changed short month name for march. Just like june and july in russian
march has only 4 letters, so  full name could be used instead of short.

10 years agoMerge pull request #2015 from kleinph/locale-de
Iskren Chernev [Mon, 17 Nov 2014 04:24:23 +0000 (20:24 -0800)] 
Merge pull request #2015 from kleinph/locale-de

Merge branch 'remove-uhr-de' into develop

10 years agoStrip 'Uhr' suffix from localized formats (in german locales)
Philipp Klein [Wed, 29 Oct 2014 10:45:24 +0000 (11:45 +0100)] 
Strip 'Uhr' suffix from localized formats (in german locales)

The 'Uhr' suffix is not as part of a time string as 'AM'/'PM' would be.
So remove it from the localized formats (LT, LLL and LLLL) but keep it
in calendar time.
Also update the tests.

10 years agoMerge pull request #2044 from ChicagoDev/contrib_doc_typo
Iskren Ivov Chernev [Sun, 16 Nov 2014 22:27:43 +0000 (14:27 -0800)] 
Merge pull request #2044 from ChicagoDev/contrib_doc_typo

Modified CONTRIBUTING.md in order to correct a duplicate wording...

10 years agoModified CONTRIBUTING.md in order to correct a duplicate wording of the word "pull". 2044/head
Blake Gideon [Tue, 11 Nov 2014 04:42:01 +0000 (22:42 -0600)] 
Modified CONTRIBUTING.md in order to correct a duplicate wording of the word "pull".

10 years agoSet grunt-jscs to 0.7.1, latest one is buggy
Iskren Chernev [Fri, 17 Oct 2014 08:04:23 +0000 (01:04 -0700)] 
Set grunt-jscs to 0.7.1, latest one is buggy

10 years agoMerge pull request #1951 from ichernev/bugfix/ordinal-parsing
Isaac Cambron [Wed, 1 Oct 2014 14:16:46 +0000 (10:16 -0400)] 
Merge pull request #1951 from ichernev/bugfix/ordinal-parsing

Add ordinalParse to all locales

10 years agoFix preparse for Arabic 1951/head
Iskren Chernev [Wed, 1 Oct 2014 08:16:09 +0000 (01:16 -0700)] 
Fix preparse for Arabic

10 years agoAdd ordial parse tests for all locales
Iskren Chernev [Wed, 1 Oct 2014 07:43:26 +0000 (00:43 -0700)] 
Add ordial parse tests for all locales

10 years agoAdd ordinalParse to all locales (including en in core)
Iskren Chernev [Wed, 1 Oct 2014 08:19:31 +0000 (01:19 -0700)] 
Add ordinalParse to all locales (including en in core)

10 years agoAdd ordinalParse support in core
Iskren Chernev [Wed, 1 Oct 2014 08:19:21 +0000 (01:19 -0700)] 
Add ordinalParse support in core

10 years agoMerge pull request #1934 from ogwiz2/develop
Iskren Ivov Chernev [Sat, 27 Sep 2014 21:04:16 +0000 (14:04 -0700)] 
Merge pull request #1934 from ogwiz2/develop

Fixed capitalization in comments

10 years agoFixed capitalization in comments 1934/head
Alexander Jeng [Mon, 22 Sep 2014 05:09:53 +0000 (22:09 -0700)] 
Fixed capitalization in comments

10 years agoBuild 2.8.3 2.8.3
Iskren Chernev [Fri, 5 Sep 2014 07:49:45 +0000 (00:49 -0700)] 
Build 2.8.3

10 years agoRemove unnecessary package.json processing step during build
Iskren Chernev [Fri, 5 Sep 2014 07:48:46 +0000 (00:48 -0700)] 
Remove unnecessary package.json processing step during build

10 years agoBump version to 2.8.3
Iskren Chernev [Fri, 5 Sep 2014 07:46:55 +0000 (00:46 -0700)] 
Bump version to 2.8.3

10 years agoUpdate changelog for 2.8.3
Iskren Chernev [Fri, 5 Sep 2014 07:46:23 +0000 (00:46 -0700)] 
Update changelog for 2.8.3

10 years agoMerge pull request #1801 from forabi/develop
Iskren Chernev [Fri, 5 Sep 2014 07:04:08 +0000 (00:04 -0700)] 
Merge pull request #1801 from forabi/develop

10 years ago[locale/ar] Use native plural forms
Muhammad Fawwaz Orabi [Sat, 26 Jul 2014 12:20:46 +0000 (15:20 +0300)] 
[locale/ar] Use native plural forms

10 years agoMerge pull request #1833 from spmjs/develop
Iskren Chernev [Fri, 5 Sep 2014 06:46:59 +0000 (23:46 -0700)] 
Merge pull request #1833 from spmjs/develop

10 years agoupdate .spmignore
afc163 [Tue, 5 Aug 2014 12:42:14 +0000 (20:42 +0800)] 
update .spmignore

10 years agoglob files in spm.output
afc163 [Tue, 5 Aug 2014 12:41:56 +0000 (20:41 +0800)] 
glob files in spm.output

10 years agoMerge pull request #1871 from 108adams/develop
Iskren Chernev [Fri, 5 Sep 2014 06:42:21 +0000 (23:42 -0700)] 
Merge pull request #1871 from 108adams/develop

10 years agoImplement https://github.com/moment/moment/pull/1871#issuecomment-53700377
Iskren Chernev [Fri, 5 Sep 2014 06:41:41 +0000 (23:41 -0700)] 
Implement https://github.com/moment/moment/pull/1871#issuecomment-53700377

10 years agorounding getTimeZoneOffset for FF 24 bug
Adam Kucharczyk [Wed, 20 Aug 2014 16:09:13 +0000 (17:08 +0059)] 
rounding getTimeZoneOffset for FF 24 bug

10 years agoMerge pull request #1882 from saxicek/patch-1
Iskren Chernev [Fri, 5 Sep 2014 05:08:21 +0000 (22:08 -0700)] 
Merge pull request #1882 from saxicek/patch-1

10 years agoUse colon for hour-minute delimiter in Czech
saxicek [Mon, 25 Aug 2014 16:05:12 +0000 (18:05 +0200)] 
Use colon for hour-minute delimiter in Czech

10 years agoMerge pull request #1883 from jsmreese/develop
Iskren Chernev [Fri, 5 Sep 2014 05:03:54 +0000 (22:03 -0700)] 
Merge pull request #1883 from jsmreese/develop

10 years agoWhitespace
John Madhavan-Reese [Mon, 25 Aug 2014 16:30:58 +0000 (12:30 -0400)] 
Whitespace

10 years agoWhitespace
John Madhavan-Reese [Mon, 25 Aug 2014 16:28:21 +0000 (12:28 -0400)] 
Whitespace

10 years agoTests for floating point errors in duration .as method output.
John Madhavan-Reese [Mon, 25 Aug 2014 16:20:54 +0000 (12:20 -0400)] 
Tests for floating point errors in duration .as method output.

10 years agoFloating point math errors in duration .as method output.
John Madhavan-Reese [Mon, 25 Aug 2014 16:19:19 +0000 (12:19 -0400)] 
Floating point math errors in duration .as method output.

10 years agoMerge pull request #1890 from PeterDaveHello/patch-1
Iskren Chernev [Fri, 5 Sep 2014 05:00:20 +0000 (22:00 -0700)] 
Merge pull request #1890 from PeterDaveHello/patch-1

10 years agomake CI build faster
Peter Dave Hello [Thu, 28 Aug 2014 12:50:43 +0000 (20:50 +0800)] 
make CI build faster

10 years agoMerge pull request #1892 from hupfis/develop
Iskren Chernev [Fri, 5 Sep 2014 04:57:36 +0000 (21:57 -0700)] 
Merge pull request #1892 from hupfis/develop

10 years agoPerformance optimization isBefore/isAfter/isSame
Dominik Hurnaus [Tue, 26 Aug 2014 13:11:16 +0000 (15:11 +0200)] 
Performance optimization isBefore/isAfter/isSame

- optimized performance of isBefore/isAfter/isSame by using valueOf and not momentizing/cloning already existing moment objects
- 90% performance improvement when using without specific unit and the input is already a moment object

reviewed by PatrickBic/tscheinecker

10 years agoMerge pull request #1848 from ichernev/bugfix/fix-month-diff
Iskren Ivov Chernev [Fri, 5 Sep 2014 04:52:58 +0000 (21:52 -0700)] 
Merge pull request #1848 from ichernev/bugfix/fix-month-diff

Fix moment diff across dst in weird cases

10 years agoMake jscs happy 1848/head
Iskren Chernev [Fri, 5 Sep 2014 04:52:36 +0000 (21:52 -0700)] 
Make jscs happy

10 years agoFix moment diff across dst in weird cases
Iskren Chernev [Sun, 10 Aug 2014 06:47:37 +0000 (23:47 -0700)] 
Fix moment diff across dst in weird cases

moment diff across dst was sometimes failing because of a floating point
rounding. Just make sure to first do additions/subtractions and then division.

10 years agoMerge pull request #1895 from ichernev/fix-utc-fmt-array
Iskren Ivov Chernev [Fri, 5 Sep 2014 04:48:46 +0000 (21:48 -0700)] 
Merge pull request #1895 from ichernev/fix-utc-fmt-array

Fix moment.utc with array of formats

10 years agoFix moment.utc with array of formats 1895/head
Iskren Chernev [Fri, 29 Aug 2014 15:44:41 +0000 (18:44 +0300)] 
Fix moment.utc with array of formats

Fixes #1878

10 years agoMerge pull request #1896 from ichernev/fix-locale-with-bad-id
Iskren Ivov Chernev [Fri, 5 Sep 2014 04:43:41 +0000 (21:43 -0700)] 
Merge pull request #1896 from ichernev/fix-locale-with-bad-id

Fix moment().locale('ivalid-id')

10 years agoFix moment().locale('ivalid-id') 1896/head
Iskren Chernev [Fri, 29 Aug 2014 16:11:45 +0000 (19:11 +0300)] 
Fix moment().locale('ivalid-id')

10 years agoMerge pull request #1897 from ichernev/support-array-with-strings
Iskren Chernev [Fri, 5 Sep 2014 04:41:35 +0000 (21:41 -0700)] 
Merge pull request #1897 from ichernev/support-array-with-strings

10 years agoMoment creation with array of string now works properly 1897/head
Iskren Chernev [Fri, 29 Aug 2014 16:25:25 +0000 (19:25 +0300)] 
Moment creation with array of string now works properly

10 years agoBuild 2.8.2 2.8.2
Iskren Chernev [Fri, 22 Aug 2014 13:32:22 +0000 (16:32 +0300)] 
Build 2.8.2

10 years agoFix grunt release warning message
Iskren Chernev [Fri, 22 Aug 2014 13:32:07 +0000 (16:32 +0300)] 
Fix grunt release warning message

10 years agoBump version to 2.8.2
Iskren Chernev [Fri, 22 Aug 2014 13:23:13 +0000 (16:23 +0300)] 
Bump version to 2.8.2

10 years agoFix bump_version after quote switch
Iskren Chernev [Fri, 22 Aug 2014 13:22:46 +0000 (16:22 +0300)] 
Fix bump_version after quote switch

10 years agoUpdate changelog for 2.8.2
Iskren Chernev [Fri, 22 Aug 2014 13:18:25 +0000 (16:18 +0300)] 
Update changelog for 2.8.2

10 years agoMerge pull request #1874 from ichernev/has-own
Iskren Ivov Chernev [Wed, 20 Aug 2014 22:12:52 +0000 (01:12 +0300)] 
Merge pull request #1874 from ichernev/has-own

Avoid obj.hasOwnProperty in favor of Object.prototype.hasOwnPrototype

@changelog
@section bugfix