]>
git.ipfire.org Git - thirdparty/moment.git/log
sgorsh [Sun, 9 Apr 2017 12:00:34 +0000 (14:00 +0200)]
Use getOwnPropertyNames to check for empty object.
Added hasOwnProperty check to for..in loop.
sgorsh [Sat, 8 Apr 2017 21:34:39 +0000 (23:34 +0200)]
Use Object.keys for empty object check - improves performance.
Iskren Chernev [Sun, 6 Aug 2017 23:41:49 +0000 (02:41 +0300)]
Merge pull request #3894 from kkopanidis:develop
[locale] es: Update month parsing to be dot lenient, fixes #3629
kostas [Fri, 2 Jun 2017 08:40:55 +0000 (11:40 +0300)]
- Whitespace fixes
G1NA [Tue, 23 May 2017 10:01:59 +0000 (13:01 +0300)]
--
G1NA [Tue, 23 May 2017 09:58:18 +0000 (12:58 +0300)]
test for issue #3132 - TODO: less issue specific
kostas [Thu, 18 May 2017 13:50:34 +0000 (16:50 +0300)]
- Changed test
kostas [Sun, 14 May 2017 14:30:29 +0000 (17:30 +0300)]
- Changed test
kostas [Wed, 5 Apr 2017 08:04:30 +0000 (11:04 +0300)]
-Code formatting revert
kostas [Wed, 5 Apr 2017 08:00:45 +0000 (11:00 +0300)]
-Revert space changes
kostas [Tue, 4 Apr 2017 13:41:41 +0000 (16:41 +0300)]
-Fixed es error for DD-MMM-YYY format -Added a simple test to confirm
Iskren Chernev [Sun, 6 Aug 2017 23:35:44 +0000 (02:35 +0300)]
Merge pull request #3877 from marwahaha:fix/3487
[bugfix] Remove RTL scraping from preparse, fixes #3487
Kunal Marwaha [Mon, 3 Apr 2017 05:12:10 +0000 (01:12 -0400)]
Fix node 0.12 tests
Kunal Marwaha [Wed, 29 Mar 2017 08:21:11 +0000 (04:21 -0400)]
Remove RTL scraping from preparse
Iskren Chernev [Sun, 6 Aug 2017 23:31:41 +0000 (02:31 +0300)]
Merge pull request #3875 from marwahaha:fix/3358
[bugfix] Calculate daysInMonth without Date(), fixes #3358
Iskren Chernev [Sun, 6 Aug 2017 23:31:22 +0000 (02:31 +0300)]
Do not use recursion, fixup #3875
Kunal Marwaha [Fri, 31 Mar 2017 07:46:50 +0000 (03:46 -0400)]
Add tests for daysInMonth overflow behavior
Kunal Marwaha [Wed, 29 Mar 2017 06:40:28 +0000 (02:40 -0400)]
Write test for Feb 29 0000 validity
Kunal Marwaha [Wed, 29 Mar 2017 06:35:52 +0000 (02:35 -0400)]
Calculate daysInMonth without Date()
Iskren Chernev [Sun, 6 Aug 2017 23:22:19 +0000 (02:22 +0300)]
Merge pull request #3850 from bustta:develop
[new locale] es-us: Spanish (United States) locale
bustta [Sun, 19 Mar 2017 11:51:03 +0000 (11:51 +0000)]
add locale es-us
Iskren Chernev [Sun, 6 Aug 2017 23:20:30 +0000 (02:20 +0300)]
Merge pull request #3848 from marwahaha:add-coveralls
[misc] Add coveralls testing to travis build
Kunal Marwaha [Sat, 18 Mar 2017 19:56:47 +0000 (15:56 -0400)]
Add coveralls testing to travis build
Iskren Chernev [Sun, 6 Aug 2017 23:13:04 +0000 (02:13 +0300)]
Merge pull request #3829 from Seldaek:german-fixes
[locale] de, de-at, de-ch: Improve month abbreviations, fixes #3803, #3838
Jordi Boggiano [Mon, 13 Mar 2017 16:50:34 +0000 (17:50 +0100)]
Fix up month abbreviations in german locales, fixes #3803
Iskren Chernev [Sun, 6 Aug 2017 23:08:50 +0000 (02:08 +0300)]
Merge pull request #3724 from zhkuskov:patch-1
[locale] ru: Change first week of year to ISO
Iskren Chernev [Sun, 6 Aug 2017 23:08:32 +0000 (02:08 +0300)]
Fix #3724, change correct files, fix tests
Евгений [Thu, 19 Jan 2017 18:37:26 +0000 (22:37 +0400)]
Update ru.js
Iskren Chernev [Sun, 6 Aug 2017 22:56:48 +0000 (01:56 +0300)]
Merge pull request #4106 from ichernev:drop-is-numeric
[fixup] Drop isNumeric utility fn, fixes #3735
Iskren Chernev [Sun, 6 Aug 2017 22:52:34 +0000 (01:52 +0300)]
Drop isNumeric utility fn
Iskren Chernev [Sun, 6 Aug 2017 22:47:44 +0000 (01:47 +0300)]
Merge pull request #4105 from ichernev:rename-gu-in
[fixup] Rename gu-IN locale to gu
Iskren Chernev [Sun, 6 Aug 2017 22:40:49 +0000 (01:40 +0300)]
Rename gu-IN locale to gu
Kaushik Thanki [Thu, 3 Aug 2017 02:23:31 +0000 (07:53 +0530)]
Added Gujarati locale for moment (#4004)
* Added Gujarati locale for moment
* Rename Gujarati Locale file
* Fixed invalid culture name in comment
Estelle Comment [Thu, 3 Aug 2017 02:22:27 +0000 (04:22 +0200)]
Add bambara language. (#4001)
Stephan [Thu, 3 Aug 2017 02:21:26 +0000 (04:21 +0200)]
NL and BE locale weekDaysMin should not be capitalized, updated to lowercase. (#3961)
* NL and BE locale weekDaysMin should not be capitalized, updated to lowercase
* Updated locale nl and be weekdays with lowercase
Rune Mønnike [Thu, 3 Aug 2017 02:20:49 +0000 (04:20 +0200)]
#1428: Updated Danish 'L' dateformat to use dots rather than slashes, aligning with article from DSN. (#3945)
Maggie Pint [Thu, 3 Aug 2017 01:55:18 +0000 (18:55 -0700)]
update travis to only test back to node 4
Evan Scott [Thu, 3 Aug 2017 01:35:20 +0000 (21:35 -0400)]
jsnext:main -> module (#3904)
Per rollup & webpack. https://github.com/rollup/rollup/wiki/pkg.module
Alessandro Di Felice [Thu, 3 Aug 2017 01:34:35 +0000 (20:34 -0500)]
Fix localeData months on Greek (#3868)
Maggie Pint [Thu, 3 Aug 2017 01:33:02 +0000 (18:33 -0700)]
Merge pull request #3854 from kienpham2000/switch
Convert long ternary operator to switch for easier readability
Maggie Pint [Thu, 3 Aug 2017 01:29:38 +0000 (18:29 -0700)]
Merge pull request #3735 from wi-ski/developmentsetter_garbage_fixusingIsNaN
Setter garbage fix using isNaN
Maggie Pint [Wed, 12 Jul 2017 05:36:37 +0000 (22:36 -0700)]
Merge pull request #4061 from NTag/develop
Fix #4060: bundle.generate returns a Promise now
Basile Bruneau [Tue, 11 Jul 2017 16:11:36 +0000 (18:11 +0200)]
Fix #4060: bundle.generate returns a Promise now
Iskren Chernev [Tue, 21 Mar 2017 22:54:37 +0000 (00:54 +0200)]
Build 2.18.1
Iskren Chernev [Tue, 21 Mar 2017 22:52:47 +0000 (00:52 +0200)]
Bump version to 2.18.1
Iskren Chernev [Tue, 21 Mar 2017 22:52:20 +0000 (00:52 +0200)]
Update changelog for 2.18.1
Iskren Chernev [Tue, 21 Mar 2017 22:46:19 +0000 (00:46 +0200)]
Merge pull request #3853 from shmendo:develop
[misc] Fix invalid whitespace character causing inability to parse moment.js
Kien Pham [Tue, 21 Mar 2017 20:00:47 +0000 (13:00 -0700)]
compute monthDiff only for the type that needs it
Kien Pham [Tue, 21 Mar 2017 06:02:53 +0000 (23:02 -0700)]
convert long ternary operator to switch for easier readability
Benjamin Walters [Tue, 21 Mar 2017 02:47:56 +0000 (19:47 -0700)]
Fixed issue with a whitespace character which caused an error in the browser during parsing in Chrome.
Iskren Chernev [Sat, 18 Mar 2017 21:09:29 +0000 (23:09 +0200)]
Build 2.18.0
Iskren Chernev [Sat, 18 Mar 2017 21:03:17 +0000 (23:03 +0200)]
Bump version to 2.18.0
Iskren Chernev [Sat, 18 Mar 2017 21:02:45 +0000 (23:02 +0200)]
Update changelog for 2.18.0
Iskren Chernev [Sat, 18 Mar 2017 20:25:41 +0000 (22:25 +0200)]
Revert "Merge pull request #3666 from josephjaniga:calendar-overload-formats"
This reverts commit
a2df2a309ae75d5a2d5ee44666261d8c8a92f804 , reversing
changes made to
a52400ec443c942a71584f3bdafddd2847423862 .
Iskren Chernev [Sat, 18 Mar 2017 20:24:47 +0000 (22:24 +0200)]
Revert "Merge pull request #3786 from netguru:develop"
This reverts commit
b1862fd5041e7bbdaf6f62b159e0944ab21e3dc0 , reversing
changes made to
a3ab61646cf3c4e5a41a75d0843b26755ca4498a .
Iskren Chernev [Sat, 18 Mar 2017 19:35:43 +0000 (21:35 +0200)]
Merge pull request #3847 from moment:fix/3631
[misc] Fix custom locale bundler, fixes #3631
Kunal Marwaha [Sat, 18 Mar 2017 06:31:46 +0000 (02:31 -0400)]
Fix lint errors
Kunal Marwaha [Sat, 18 Mar 2017 06:21:31 +0000 (02:21 -0400)]
Filter out en from locales
Iskren Chernev [Sat, 18 Mar 2017 19:33:07 +0000 (21:33 +0200)]
Merge pull request #3840 from marwahaha:fix/windows-dev
[misc] Use npm to run typescript tests, fixes #3826
Kunal Marwaha [Wed, 15 Mar 2017 23:19:38 +0000 (19:19 -0400)]
Use npm to run typescript tests
Isaac Cambron [Fri, 17 Mar 2017 16:14:40 +0000 (12:14 -0400)]
Merge pull request #3828 from moment/meteor-readme-simplification
Simplify Meteor Readme
Isaac Cambron [Mon, 13 Mar 2017 07:01:21 +0000 (03:01 -0400)]
Simplify Meteor Readme
The Meteor readme needn't be an ad for Meteor.
Iskren Chernev [Sun, 12 Mar 2017 00:41:53 +0000 (02:41 +0200)]
Merge pull request #3793 from fbonzon:ordinal-parse
[misc] Change ordinalParse to dayOfMonthOrdinalParse in locales
Iskren Chernev [Sun, 12 Mar 2017 00:41:05 +0000 (02:41 +0200)]
Fixup new locales
François B [Mon, 6 Mar 2017 10:51:43 +0000 (11:51 +0100)]
Add fallback for lenient parsing
François B [Mon, 6 Mar 2017 01:37:53 +0000 (02:37 +0100)]
Add fallback for old name ordinalParse
François B [Fri, 3 Mar 2017 15:42:11 +0000 (16:42 +0100)]
Sync with develop branch
François B [Mon, 27 Feb 2017 08:07:21 +0000 (09:07 +0100)]
Rename ordinalParse → dayOfMonthOrdinalParse
"ordinalParse" was poorly named, because, contrary to "ordinal" short
which is responsible to display ordinal for many units, the former
cares only about day of month parsing.
Iskren Chernev [Sun, 12 Mar 2017 00:29:03 +0000 (02:29 +0200)]
Merge pull request #3819 from sschueller:develop
[new locale] de_ch: German (Switzerland) locale
Iskren Chernev [Sun, 12 Mar 2017 00:28:06 +0000 (02:28 +0200)]
Update de-ch header
Stefan Schüller [Thu, 9 Mar 2017 10:36:51 +0000 (11:36 +0100)]
Added de_CH (German Switzerland)
Stefan Schüller [Thu, 9 Mar 2017 10:31:02 +0000 (11:31 +0100)]
Added de_CH (German Switzerland)
Stefan Schüller [Thu, 9 Mar 2017 09:57:12 +0000 (10:57 +0100)]
Added de_CH (German Switzerland) Test
Stefan Schüller [Tue, 7 Mar 2017 08:02:08 +0000 (09:02 +0100)]
Added de_CH (German Switzerland) according to Weisungen der Bundeskanzlei
Iskren Chernev [Sun, 12 Mar 2017 00:21:19 +0000 (02:21 +0200)]
Merge pull request #3800 from lashad:patch-2
[locale] ka: Improved past relative time
Lasha Dolidze [Thu, 2 Mar 2017 10:36:43 +0000 (14:36 +0400)]
change the tests to meet grammar issue in ka.js file.
Lasha Dolidze [Thu, 2 Mar 2017 08:37:18 +0000 (12:37 +0400)]
Update ka.js
Hello,
Small grammar error fix.
Iskren Chernev [Sun, 12 Mar 2017 00:17:53 +0000 (02:17 +0200)]
Merge pull request #3790 from fbonzon:fr-ordinal
[locale] fr-*: Better ordinal parsing and ` in place of '
François B [Mon, 6 Mar 2017 11:22:55 +0000 (12:22 +0100)]
Align code formatting of fr-ch, fr-ca and fr locales
Now a diff between any 2 files of fr-ch, fr-ca and fr locales shows
actual differences in time formatting rules, not differences in how the
code is written.
François B [Mon, 6 Mar 2017 11:17:23 +0000 (12:17 +0100)]
Honor grammatical gender for ordinals in French locale
Other change: French uses curly quote ( ’ ) not straight quote ( ' )
Iskren Chernev [Sun, 12 Mar 2017 00:13:24 +0000 (02:13 +0200)]
Merge pull request #3708 from TracyGJG:develop
[feature] RFC2822 parsing
TGJG-XPS\TracyG [Mon, 6 Mar 2017 22:20:30 +0000 (22:20 +0000)]
Further correction
TGJG-XPS\TracyG [Mon, 6 Mar 2017 22:14:13 +0000 (22:14 +0000)]
Zulu conversion correction.
TGJG-XPS\TracyG [Mon, 6 Mar 2017 22:09:06 +0000 (22:09 +0000)]
Testcases revised to track down issue.
TGJG-XPS\TracyG [Mon, 6 Mar 2017 22:03:15 +0000 (22:03 +0000)]
Correction to military case insensitive time zone
TGJG-XPS\TracyG [Mon, 6 Mar 2017 21:47:06 +0000 (21:47 +0000)]
Enhanced positive test cases to include a variety of time zone/offsets.
Made the military time zone case insensitive in line with specification.
TGJG-XPS\TracyG [Mon, 6 Mar 2017 20:30:06 +0000 (20:30 +0000)]
Changed parsingFlags().rfc2822 from a function call
TGJG-XPS\TracyG [Mon, 6 Mar 2017 20:19:20 +0000 (20:19 +0000)]
Checking rfc2822 parsingFlags
TGJG-XPS\TracyG [Mon, 6 Mar 2017 20:12:03 +0000 (20:12 +0000)]
Missing semi-colons added.
TGJG-XPS\TracyG [Mon, 6 Mar 2017 20:09:39 +0000 (20:09 +0000)]
Positive and Negative RFC2822 testCases streamlined.
TGJG-XPS\TracyG [Mon, 6 Mar 2017 19:52:39 +0000 (19:52 +0000)]
rfc2822 ParsingFlags moved to the bottom of the parsing code.
TGJ Gilmore [Mon, 6 Mar 2017 12:55:50 +0000 (12:55 +0000)]
Update from-string.js
Issue with configFromString()
TGJ Gilmore [Mon, 6 Mar 2017 12:45:49 +0000 (12:45 +0000)]
Update from-string.js
Trailing white-space removed
TGJ Gilmore [Mon, 6 Mar 2017 12:42:17 +0000 (12:42 +0000)]
Update from-string.js
Semi-colons
TGJ Gilmore [Mon, 6 Mar 2017 12:39:14 +0000 (12:39 +0000)]
Update from-string.js
configFromString() made linear, Military variable made lowercase and RegExp comment replaced with tools.ietf reference.
TGJ Gilmore [Mon, 6 Mar 2017 12:17:21 +0000 (12:17 +0000)]
Update parsing-flags.js
Spacing of the rfc2822 parse flag syntax aligned.
TGJ Gilmore [Mon, 6 Mar 2017 12:15:50 +0000 (12:15 +0000)]
Update relative_time.js
Test case re-enabled.
TGJG-XPS\TracyG [Tue, 14 Feb 2017 18:03:33 +0000 (18:03 +0000)]
Revert "Further style correction."
This reverts commit
a9cdeeff05c301f34570d79453e3d4bc55fa0455 .
TGJG-XPS\TracyG [Tue, 14 Feb 2017 17:48:47 +0000 (17:48 +0000)]
Further style correction.
TGJG-XPS\TracyG [Tue, 14 Feb 2017 17:44:31 +0000 (17:44 +0000)]
Style correction.