]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
7 years agoMake jshint happy 4108/head
Iskren Chernev [Wed, 9 Aug 2017 11:41:45 +0000 (14:41 +0300)] 
Make jshint happy

7 years agoFix rfc2822 multiple issues
Iskren Chernev [Mon, 7 Aug 2017 21:38:17 +0000 (00:38 +0300)] 
Fix rfc2822 multiple issues

7 years agoMerge pull request #4034 from ovangle:fix/4033
Iskren Chernev [Mon, 7 Aug 2017 19:21:02 +0000 (22:21 +0300)] 
Merge pull request #4034 from ovangle:fix/4033

[misc] TS: Add specs & tests for moment.RFC_2822

7 years agoAdd typescript declaration for moment.RFC_2822
Thomas Stephenson [Sat, 24 Jun 2017 13:56:53 +0000 (23:56 +1000)] 
Add typescript declaration for moment.RFC_2822

7 years agoMerge pull request #4042 from ovangle:fix-4031
Iskren Chernev [Mon, 7 Aug 2017 19:17:08 +0000 (22:17 +0300)] 
Merge pull request #4042 from ovangle:fix-4031

[bugfix] Make auto locale loading for node not mess webpack, fixes #4031, #2979, #3872

7 years agoFix #4031 - Missing ES6 module during tree shaking
Thomas Stephenson [Tue, 27 Jun 2017 12:36:07 +0000 (22:36 +1000)] 
Fix #4031 - Missing ES6 module during tree shaking

Cannot import the locale relatively, since the code exists
in a different location in the bundled ES5 module than it
does in ES6.

In order to run tests locally (where the external 'moment'
library can't be loaded), fall back to using the relative import.

7 years agoMerge pull request #4058 from waclawjacek:pl_next_week_day_declension
Iskren Chernev [Mon, 7 Aug 2017 19:13:54 +0000 (22:13 +0300)] 
Merge pull request #4058 from waclawjacek:pl_next_week_day_declension

[locale] pl: Improve calendar for next week

7 years agoAdding a fix for Polish next week day name declension.
Wacław Jacek [Tue, 11 Jul 2017 13:57:32 +0000 (15:57 +0200)] 
Adding a fix for Polish next week day name declension.

7 years agoMerge pull request #4079 from ashsearle:fix/4072
Iskren Chernev [Mon, 7 Aug 2017 19:03:31 +0000 (22:03 +0300)] 
Merge pull request #4079 from ashsearle:fix/4072

[bugfix] Use indexOf utility for IE8 compatibility, fixes #4072

7 years agoFix #4072: Use indexOf util for IE8 compatibility
Ash Searle [Fri, 21 Jul 2017 17:11:20 +0000 (18:11 +0100)] 
Fix #4072: Use indexOf util for IE8 compatibility

7 years agoRevert "Merge pull request #3848 from marwahaha:add-coveralls"
Iskren Chernev [Mon, 7 Aug 2017 18:57:03 +0000 (21:57 +0300)] 
Revert "Merge pull request #3848 from marwahaha:add-coveralls"

This reverts commit 7c3d1ea50174826ecbbfed652b93ba534a9ec03b, reversing
changes made to 759b4a4108a6519ed4411d6d670367b4aa156c75.

7 years agoMerge pull request #4080 from ashsearle:fix/4078
Iskren Chernev [Mon, 7 Aug 2017 18:53:42 +0000 (21:53 +0300)] 
Merge pull request #4080 from ashsearle:fix/4078

[feature] Implement a clone method for durations, fixes #4078

7 years agoFix comment
Ash Searle [Wed, 26 Jul 2017 07:37:47 +0000 (08:37 +0100)] 
Fix comment

7 years agoUse notEqual for clarity
Ash Searle [Wed, 26 Jul 2017 07:35:49 +0000 (08:35 +0100)] 
Use notEqual for clarity

7 years agoFix #4078: Implement a clone method for durations
Ash Searle [Fri, 21 Jul 2017 17:30:12 +0000 (18:30 +0100)] 
Fix #4078: Implement a clone method for durations

7 years agoMerge pull request #4077 from Petrukha:fix3985
Iskren Chernev [Mon, 7 Aug 2017 01:09:50 +0000 (04:09 +0300)] 
Merge pull request #4077 from Petrukha:fix3985

[bugfix] Handle RFC2822 parsing in non-en locales, fixes #3985

7 years agoFix #3985 code review changes
Petr Potekhin [Thu, 20 Jul 2017 20:27:50 +0000 (23:27 +0300)] 
Fix #3985 code review changes

7 years agoFix #3985 fix Invalid date for RFC 2822 with some refactoring
Petr Potekhin [Wed, 19 Jul 2017 23:22:15 +0000 (02:22 +0300)] 
Fix #3985 fix Invalid date for RFC 2822 with some refactoring

7 years agoMerge pull request #4017 from erhangundogan:4006-calendar-tr-issue
Iskren Chernev [Mon, 7 Aug 2017 00:57:45 +0000 (03:57 +0300)] 
Merge pull request #4017 from erhangundogan:4006-calendar-tr-issue

[locale] tr: Improve calendar text for next/prev week

7 years agotr locale update regarding to calendar lastWeek, nestWeek issue
Erhan Gundogan [Thu, 15 Jun 2017 11:30:33 +0000 (13:30 +0200)] 
tr locale update regarding to calendar lastWeek, nestWeek issue

7 years agoMerge pull request #4007 from kshitijb:develop
Iskren Chernev [Mon, 7 Aug 2017 00:44:50 +0000 (03:44 +0300)] 
Merge pull request #4007 from kshitijb:develop

[bugfix] Support '+' for duration components when parsing

7 years agoUsing character class instead of non capturing group
Kshitij [Tue, 1 Aug 2017 11:16:41 +0000 (16:46 +0530)] 
Using character class instead of non capturing group

7 years agoAdded tests for + sign
Kshitij [Wed, 14 Jun 2017 08:29:31 +0000 (13:59 +0530)] 
Added tests for + sign

7 years agoUpdated regex to support + sign in between the string
Kshitij [Wed, 14 Jun 2017 08:26:16 +0000 (13:56 +0530)] 
Updated regex to support + sign in between the string

7 years agoSupport "+" / positive sign as well.
Kshitij Bhardwaj [Sun, 11 Jun 2017 18:04:21 +0000 (23:34 +0530)] 
Support "+" / positive sign as well.

Updated regex to support positive sign in addition to a negative sign. The `sign` is assigned a value of 1 if the regex finds "+" in the beginning.

7 years agoMerge pull request #4003 from rubycut:patch-1
Iskren Chernev [Mon, 7 Aug 2017 00:34:23 +0000 (03:34 +0300)] 
Merge pull request #4003 from rubycut:patch-1

[pkg] bower: Remove tests from package

7 years agoremove tests when installing moment through bower
Rubycut [Fri, 9 Jun 2017 12:11:50 +0000 (14:11 +0200)] 
remove tests when installing moment through bower

This file is 3.5 Mb and it's not needed in production.

7 years agoMerge pull request #3947 from rentalhost:locale-pt-br
Iskren Chernev [Mon, 7 Aug 2017 00:31:53 +0000 (03:31 +0300)] 
Merge pull request #3947 from rentalhost:locale-pt-br

[locale] pt-br: Add "ss" relative time

7 years agoAdded tests to "ss" threshold localization to pt-br;
David Rodrigues [Thu, 3 Aug 2017 12:23:30 +0000 (09:23 -0300)] 
Added tests to "ss" threshold localization to pt-br;

7 years agoUpdating "ss" threshold localization to pt-br;
David Rodrigues [Thu, 4 May 2017 14:02:40 +0000 (11:02 -0300)] 
Updating "ss" threshold localization to pt-br;

7 years agoMerge pull request #3933 from mestremuten:locale-ca-cldr
Iskren Chernev [Mon, 7 Aug 2017 00:29:04 +0000 (03:29 +0300)] 
Merge pull request #3933 from mestremuten:locale-ca-cldr

[locale] ca: Adapt to Unicode CLDR data

7 years agoAdapt [ca] locale to Unicode CLDR data
mestremuten [Fri, 28 Apr 2017 15:44:28 +0000 (17:44 +0200)] 
Adapt [ca] locale to Unicode CLDR data

http://cldr.unicode.org/index/downloads

Standard date and time formats (full, long, medium, short) for gregorian
calendar for "ca" locale don't use "el" prefix.

7 years agoMerge pull request #3924 from xizhao:patch-1
Iskren Chernev [Mon, 7 Aug 2017 00:24:22 +0000 (03:24 +0300)] 
Merge pull request #3924 from xizhao:patch-1

[misc] Add FOSSA license report and scan status

7 years agoAdd license report and scan status
Kevin Wang [Sat, 22 Apr 2017 01:19:27 +0000 (18:19 -0700)] 
Add license report and scan status

7 years agoMerge pull request #3915 from kaypro4:pt-locale-month-lowercase
Iskren Chernev [Mon, 7 Aug 2017 00:01:45 +0000 (03:01 +0300)] 
Merge pull request #3915 from kaypro4:pt-locale-month-lowercase

[locale] pt,pt-br: Lowercase month names

7 years agoLowercase the first letters of months in Portuguese
Matt Pope [Mon, 17 Apr 2017 21:33:48 +0000 (14:33 -0700)] 
Lowercase the first letters of months in Portuguese

7 years agoMerge pull request #3902 from sgorsh:develop
Iskren Chernev [Sun, 6 Aug 2017 23:45:48 +0000 (02:45 +0300)] 
Merge pull request #3902 from sgorsh:develop

[misc] perf: Use Object.keys for empty object check

7 years agoAdded isObjectEmpty benchmark.
sgorsh [Sun, 9 Apr 2017 12:00:47 +0000 (14:00 +0200)] 
Added isObjectEmpty benchmark.

7 years agoUse getOwnPropertyNames to check for empty object.
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.

7 years agoUse Object.keys for empty object check - improves performance.
sgorsh [Sat, 8 Apr 2017 21:34:39 +0000 (23:34 +0200)] 
Use Object.keys for empty object check - improves performance.

7 years agoMerge pull request #3894 from kkopanidis:develop
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

7 years ago- Whitespace fixes
kostas [Fri, 2 Jun 2017 08:40:55 +0000 (11:40 +0300)] 
- Whitespace fixes

7 years ago--
G1NA [Tue, 23 May 2017 10:01:59 +0000 (13:01 +0300)] 
--

7 years agotest for issue #3132 - TODO: less issue specific
G1NA [Tue, 23 May 2017 09:58:18 +0000 (12:58 +0300)] 
test for issue #3132 - TODO: less issue specific

7 years ago- Changed test
kostas [Thu, 18 May 2017 13:50:34 +0000 (16:50 +0300)] 
- Changed test

7 years ago- Changed test
kostas [Sun, 14 May 2017 14:30:29 +0000 (17:30 +0300)] 
- Changed test

7 years ago-Code formatting revert
kostas [Wed, 5 Apr 2017 08:04:30 +0000 (11:04 +0300)] 
-Code formatting revert

7 years ago-Revert space changes
kostas [Wed, 5 Apr 2017 08:00:45 +0000 (11:00 +0300)] 
-Revert space changes

7 years ago-Fixed es error for DD-MMM-YYY format -Added a simple test to confirm
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

7 years agoMerge pull request #3877 from marwahaha:fix/3487
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

7 years agoFix node 0.12 tests
Kunal Marwaha [Mon, 3 Apr 2017 05:12:10 +0000 (01:12 -0400)] 
Fix node 0.12 tests

7 years agoRemove RTL scraping from preparse
Kunal Marwaha [Wed, 29 Mar 2017 08:21:11 +0000 (04:21 -0400)] 
Remove RTL scraping from preparse

7 years agoMerge pull request #3875 from marwahaha:fix/3358
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

7 years agoDo not use recursion, fixup #3875
Iskren Chernev [Sun, 6 Aug 2017 23:31:22 +0000 (02:31 +0300)] 
Do not use recursion, fixup #3875

7 years agoAdd tests for daysInMonth overflow behavior
Kunal Marwaha [Fri, 31 Mar 2017 07:46:50 +0000 (03:46 -0400)] 
Add tests for daysInMonth overflow behavior

7 years agoWrite test for Feb 29 0000 validity
Kunal Marwaha [Wed, 29 Mar 2017 06:40:28 +0000 (02:40 -0400)] 
Write test for Feb 29 0000 validity

7 years agoCalculate daysInMonth without Date()
Kunal Marwaha [Wed, 29 Mar 2017 06:35:52 +0000 (02:35 -0400)] 
Calculate daysInMonth without Date()

7 years agoMerge pull request #3850 from bustta:develop
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

7 years agoadd locale es-us
bustta [Sun, 19 Mar 2017 11:51:03 +0000 (11:51 +0000)] 
add locale es-us

7 years agoMerge pull request #3848 from marwahaha:add-coveralls
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

7 years agoAdd coveralls testing to travis build
Kunal Marwaha [Sat, 18 Mar 2017 19:56:47 +0000 (15:56 -0400)] 
Add coveralls testing to travis build

7 years agoMerge pull request #3829 from Seldaek:german-fixes
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

7 years agoFix up month abbreviations in german locales, fixes #3803
Jordi Boggiano [Mon, 13 Mar 2017 16:50:34 +0000 (17:50 +0100)] 
Fix up month abbreviations in german locales, fixes #3803

7 years agoMerge pull request #3724 from zhkuskov:patch-1
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

7 years agoFix #3724, change correct files, fix tests
Iskren Chernev [Sun, 6 Aug 2017 23:08:32 +0000 (02:08 +0300)] 
Fix #3724, change correct files, fix tests

7 years agoUpdate ru.js
Евгений [Thu, 19 Jan 2017 18:37:26 +0000 (22:37 +0400)] 
Update ru.js

7 years agoMerge pull request #4106 from ichernev:drop-is-numeric
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

7 years agoDrop isNumeric utility fn 4106/head
Iskren Chernev [Sun, 6 Aug 2017 22:52:34 +0000 (01:52 +0300)] 
Drop isNumeric utility fn

7 years agoMerge pull request #4105 from ichernev:rename-gu-in
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

7 years agoRename gu-IN locale to gu 4105/head
Iskren Chernev [Sun, 6 Aug 2017 22:40:49 +0000 (01:40 +0300)] 
Rename gu-IN locale to gu

8 years agoAdded Gujarati locale for moment (#4004)
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

8 years agoAdd bambara language. (#4001)
Estelle Comment [Thu, 3 Aug 2017 02:22:27 +0000 (04:22 +0200)] 
Add bambara language. (#4001)

8 years agoNL and BE locale weekDaysMin should not be capitalized, updated to lowercase. (#3961)
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

8 years ago#1428: Updated Danish 'L' dateformat to use dots rather than slashes, aligning with...
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)

8 years agoupdate travis to only test back to node 4
Maggie Pint [Thu, 3 Aug 2017 01:55:18 +0000 (18:55 -0700)] 
update travis to only test back to node 4

8 years agojsnext:main -> module (#3904)
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

8 years agoFix localeData months on Greek (#3868)
Alessandro Di Felice [Thu, 3 Aug 2017 01:34:35 +0000 (20:34 -0500)] 
Fix localeData months on Greek (#3868)

8 years agoMerge pull request #3854 from kienpham2000/switch
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

8 years agoMerge pull request #3735 from wi-ski/developmentsetter_garbage_fixusingIsNaN
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

8 years agoMerge pull request #4061 from NTag/develop
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

8 years agoFix #4060: bundle.generate returns a Promise now 4061/head
Basile Bruneau [Tue, 11 Jul 2017 16:11:36 +0000 (18:11 +0200)] 
Fix #4060: bundle.generate returns a Promise now

8 years agoBuild 2.18.1 2.18.1
Iskren Chernev [Tue, 21 Mar 2017 22:54:37 +0000 (00:54 +0200)] 
Build 2.18.1

8 years agoBump version to 2.18.1
Iskren Chernev [Tue, 21 Mar 2017 22:52:47 +0000 (00:52 +0200)] 
Bump version to 2.18.1

8 years agoUpdate changelog for 2.18.1
Iskren Chernev [Tue, 21 Mar 2017 22:52:20 +0000 (00:52 +0200)] 
Update changelog for 2.18.1

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

8 years agocompute monthDiff only for the type that needs it 3854/head
Kien Pham [Tue, 21 Mar 2017 20:00:47 +0000 (13:00 -0700)] 
compute monthDiff only for the type that needs it

8 years agoconvert long ternary operator to switch for easier readability
Kien Pham [Tue, 21 Mar 2017 06:02:53 +0000 (23:02 -0700)] 
convert long ternary operator to switch for easier readability

8 years agoFixed issue with a whitespace character which caused an error in the browser during... 3853/head
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.

8 years agoBuild 2.18.0 2.18.0
Iskren Chernev [Sat, 18 Mar 2017 21:09:29 +0000 (23:09 +0200)] 
Build 2.18.0

8 years agoBump version to 2.18.0
Iskren Chernev [Sat, 18 Mar 2017 21:03:17 +0000 (23:03 +0200)] 
Bump version to 2.18.0

8 years agoUpdate changelog for 2.18.0
Iskren Chernev [Sat, 18 Mar 2017 21:02:45 +0000 (23:02 +0200)] 
Update changelog for 2.18.0

8 years agoRevert "Merge pull request #3666 from josephjaniga:calendar-overload-formats"
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.

8 years agoRevert "Merge pull request #3786 from netguru:develop"
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.

8 years agoMerge pull request #3847 from moment:fix/3631
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

8 years agoFix lint errors
Kunal Marwaha [Sat, 18 Mar 2017 06:31:46 +0000 (02:31 -0400)] 
Fix lint errors

8 years agoFilter out en from locales
Kunal Marwaha [Sat, 18 Mar 2017 06:21:31 +0000 (02:21 -0400)] 
Filter out en from locales

8 years agoMerge pull request #3840 from marwahaha:fix/windows-dev
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

8 years agoUse npm to run typescript tests
Kunal Marwaha [Wed, 15 Mar 2017 23:19:38 +0000 (19:19 -0400)] 
Use npm to run typescript tests

8 years agoMerge pull request #3828 from moment/meteor-readme-simplification
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

8 years agoSimplify Meteor Readme meteor-readme-simplification 3828/head
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.