]>
git.ipfire.org Git - thirdparty/moment.git/log
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
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.
TGJG-XPS\TracyG [Tue, 14 Feb 2017 17:38:53 +0000 (17:38 +0000)]
Parsing flag weekdayMismatch added and applied to the RFC parse validation.
TGJG-XPS\TracyG [Mon, 13 Feb 2017 21:13:26 +0000 (21:13 +0000)]
Removed the breaking comments in the test case.
TGJG-XPS\TracyG [Mon, 13 Feb 2017 21:09:54 +0000 (21:09 +0000)]
Correction: Style of comment!
TGJG-XPS\TracyG [Mon, 13 Feb 2017 21:04:10 +0000 (21:04 +0000)]
Retest rfc2822
TGJG-XPS\TracyG [Mon, 13 Feb 2017 20:19:41 +0000 (20:19 +0000)]
Trial day-of-week validation using a vanilla Date object.
TGJG-XPS\TracyG [Sat, 4 Feb 2017 13:32:36 +0000 (13:32 +0000)]
Removed import of moment library.
TGJG-XPS\TracyG [Sat, 4 Feb 2017 13:25:46 +0000 (13:25 +0000)]
Revoked weekday check and test
TGJG-XPS\TracyG [Sat, 4 Feb 2017 13:22:28 +0000 (13:22 +0000)]
Style correction
TGJG-XPS\TracyG [Sat, 4 Feb 2017 13:15:12 +0000 (13:15 +0000)]
Further trial
TGJG-XPS\TracyG [Sat, 4 Feb 2017 13:08:49 +0000 (13:08 +0000)]
Trial validation of weekday
TGJG-XPS\TracyG [Sat, 4 Feb 2017 12:33:22 +0000 (12:33 +0000)]
Removed rfc2822 prefix from internal variables.
TGJG-XPS\TracyG [Sun, 8 Jan 2017 08:10:57 +0000 (08:10 +0000)]
Test case 'RFC2822 datetime with CFWSs' revised to replace the template literal with a complex string.
TGJG-XPS\TracyG [Thu, 10 Nov 2016 16:33:19 +0000 (16:33 +0000)]
Revised RFC2822 regular expressions
TGJG-XPS\TracyG [Mon, 7 Nov 2016 19:16:18 +0000 (19:16 +0000)]
Near-candidate solution
TGJG-XPS\TracyG [Sun, 6 Nov 2016 21:35:10 +0000 (21:35 +0000)]
Timezone/offset processing added.
TGJG-XPS\TracyG [Fri, 4 Nov 2016 22:29:24 +0000 (22:29 +0000)]
Work in Progress - Do Not Merge
Iskren Chernev [Sun, 12 Mar 2017 00:09:19 +0000 (02:09 +0200)]
Merge pull request #3671 from marcoil:locale_ca_add_de
[locale] ca: Improved months and datetime formats
Marc Ordinas i Llopis [Wed, 21 Dec 2016 13:54:22 +0000 (14:54 +0100)]
Improved Catalan localization
* Changed months abbreviations to the recommended ones
(https://www.upf.edu/leupf/12ap1/111_3.htm).
* Added articles and "de/d'" to long-form dates.
* Added commas to short-form dates.
Iskren Chernev [Sat, 11 Mar 2017 23:56:05 +0000 (01:56 +0200)]
Merge pull request #3814 from dimkinv:develop
[misc] typescript: Moment interface now extends Object to inherit toString()
Danny Vernovsky [Tue, 7 Mar 2017 11:57:47 +0000 (13:57 +0200)]
Moment interface now extends Object to inherit toString() function
Iskren Chernev [Sat, 11 Mar 2017 23:43:20 +0000 (01:43 +0200)]
Merge pull request #3812 from webbiesdk:ts-fixes
[misc] typescript: Minor fixes
Erik Krogh Kristensen [Mon, 6 Mar 2017 19:55:09 +0000 (20:55 +0100)]
Small fixes to the .d.ts file
Iskren Chernev [Sat, 11 Mar 2017 23:35:56 +0000 (01:35 +0200)]
Merge pull request #3817 from billschaller:patch-2
[misc] Don't enumerate momentProperties with 'in'
Bill Schaller [Wed, 8 Mar 2017 19:03:30 +0000 (14:03 -0500)]
[Easy] Don't enumerate momentProperties with 'in'
Because of the way many polyfill libraries modify Array.prototype (without Object.defineProperty), enumerating momentProperties with for...in is unsafe.
This is a zero-cost change that makes this enumeration safe.
Iskren Chernev [Sat, 11 Mar 2017 23:30:02 +0000 (01:30 +0200)]
Merge pull request #3815 from marwahaha:fix/3702
[misc] typescrpt: Fixes #3702, add week in duration input spec
Kunal Marwaha [Wed, 8 Mar 2017 08:47:39 +0000 (00:47 -0800)]
Add a test
Kunal Marwaha [Wed, 8 Mar 2017 08:22:50 +0000 (00:22 -0800)]
Add typings for weeks on DurationInputObject
Iskren Chernev [Sat, 11 Mar 2017 23:19:25 +0000 (01:19 +0200)]
Merge pull request #3806 from timfish:develop
[bugfix] Fixes #3805, fix locale month getters for standalone/format cases
Tim Fish [Sun, 5 Mar 2017 22:32:40 +0000 (23:32 +0100)]
code style
Tim Fish [Sun, 5 Mar 2017 22:31:04 +0000 (23:31 +0100)]
revert two missed files
Tim Fish [Sun, 5 Mar 2017 22:28:11 +0000 (23:28 +0100)]
@ichernev tips
Tim Fish [Sun, 5 Mar 2017 14:51:39 +0000 (15:51 +0100)]
I should probably run the code style tests locally...
Tim Fish [Sun, 5 Mar 2017 14:46:04 +0000 (15:46 +0100)]
code style
Tim Fish [Sun, 5 Mar 2017 14:40:11 +0000 (15:40 +0100)]
code style
Tim Fish [Sun, 5 Mar 2017 14:32:17 +0000 (15:32 +0100)]
get tests passing
Tim Fish [Sun, 5 Mar 2017 10:12:13 +0000 (11:12 +0100)]
another code style issue
Tim Fish [Sun, 5 Mar 2017 10:08:02 +0000 (11:08 +0100)]
Fix code style errors
Tim Fish [Sun, 5 Mar 2017 10:01:27 +0000 (11:01 +0100)]
Add localeData tests
Tim Fish [Sat, 4 Mar 2017 15:14:27 +0000 (16:14 +0100)]
Fix code style errors
Tim Fish [Sat, 4 Mar 2017 15:06:22 +0000 (16:06 +0100)]
Fix issue #3805
Iskren Chernev [Sat, 11 Mar 2017 22:56:51 +0000 (00:56 +0200)]
Merge pull request #3792 from nusretparlak:develop
[new locale] ar-kw: Arabic (Kuwait) locale
Iskren Chernev [Sat, 11 Mar 2017 22:54:47 +0000 (00:54 +0200)]
Remove locale/ar-kw.js (autogen later)
Nusret Parlak [Fri, 3 Mar 2017 11:54:40 +0000 (13:54 +0200)]
Ar-KW Test Updated
Ar-KW Test Updated
Nusret Parlak [Fri, 3 Mar 2017 11:48:32 +0000 (13:48 +0200)]
Ar-KW Test Updated
Ar-KW Test Updated
Nusret Parlak [Fri, 3 Mar 2017 06:35:40 +0000 (08:35 +0200)]
Ar-Kw(Kuwait) Language Test Package Added .
Ar-Kw(Kuwait) Language Test Package Added .
Nusret Parlak [Fri, 3 Mar 2017 06:29:54 +0000 (08:29 +0200)]
Ar-Kw(Kuwait) Language Package Added
Ar-Kw(Kuwait) Language Package Added
Nusret Parlak [Mon, 27 Feb 2017 11:42:54 +0000 (13:42 +0200)]
Day of week updated.
Day of week updated.
nusretparlak [Mon, 27 Feb 2017 06:38:46 +0000 (08:38 +0200)]
Ar-Kw(Kuwait) Language Package Added .
Ar-Kw(Kuwait) Language Package Added .