]>
git.ipfire.org Git - thirdparty/moment.git/log
Iskren Chernev [Mon, 4 Jul 2016 07:51:28 +0000 (00:51 -0700)]
Add more info about nuget setup
Iskren Chernev [Mon, 4 Jul 2016 06:39:29 +0000 (23:39 -0700)]
Build 2.14.1
Iskren Chernev [Mon, 4 Jul 2016 06:38:37 +0000 (23:38 -0700)]
Bump version for 2.14.1
Iskren Chernev [Mon, 4 Jul 2016 06:38:20 +0000 (23:38 -0700)]
Changelog for 2.14.1
Iskren Ivov Chernev [Mon, 4 Jul 2016 06:37:20 +0000 (23:37 -0700)]
Merge pull request #3280 from todd/fix_typings
Fix Typescript definitions
Todd Bealmear [Mon, 4 Jul 2016 06:20:27 +0000 (23:20 -0700)]
:bug: Fix Typings
Iskren Chernev [Mon, 4 Jul 2016 05:01:49 +0000 (22:01 -0700)]
Build 2.14.0
Iskren Chernev [Mon, 4 Jul 2016 04:59:57 +0000 (21:59 -0700)]
Bump version to 2.14.0
Iskren Chernev [Mon, 4 Jul 2016 04:59:29 +0000 (21:59 -0700)]
Update changelog for 2.14.0
Iskren Chernev [Mon, 4 Jul 2016 03:25:57 +0000 (20:25 -0700)]
Remove calendarFormat from moment.fn (its under moment.calendarFormat)
Iskren Chernev [Mon, 4 Jul 2016 03:23:09 +0000 (20:23 -0700)]
Merge pull request #3275 from ichernev:ts-2.14.0
Update typescript definitions with 2.14.0 changes
Iskren Chernev [Mon, 4 Jul 2016 03:19:55 +0000 (20:19 -0700)]
Update typescript definitions with 2.14.0 changes
Iskren Chernev [Sat, 2 Jul 2016 18:19:30 +0000 (11:19 -0700)]
Merge pull request #3063 from ichernev:add-member-info
Add info on becoming a team member
Iskren Chernev [Thu, 24 Mar 2016 10:28:20 +0000 (03:28 -0700)]
Add info on becoming a team member
Iskren Chernev [Sat, 2 Jul 2016 18:12:18 +0000 (11:12 -0700)]
Merge pull request #3272 from ichernev:fix-af-march
Fix Afrikaans March abbr
Iskren Chernev [Sat, 2 Jul 2016 18:11:04 +0000 (11:11 -0700)]
Fix Afrikaans March abbr
Iskren Chernev [Sun, 26 Jun 2016 08:20:05 +0000 (01:20 -0700)]
Fix rest of locale comments
Iskren Chernev [Sun, 26 Jun 2016 08:16:35 +0000 (01:16 -0700)]
Change locale comments
Iskren Chernev [Mon, 20 Jun 2016 08:24:28 +0000 (01:24 -0700)]
Merge pull request #3235 from ichernev:fix-locales
Use proper locale inheritance for the base locale
Iskren Chernev [Mon, 20 Jun 2016 08:23:21 +0000 (01:23 -0700)]
Cleanup day-of-week
Iskren Chernev [Thu, 16 Jun 2016 06:34:09 +0000 (23:34 -0700)]
Replace hacks with harder to spot ones
Iskren Chernev [Sun, 12 Jun 2016 10:39:11 +0000 (03:39 -0700)]
Use proper locale inheritance for the base locale
Previously english locale was defined mostly in Locale.prototype. Now it's
moved in locale config (similar to all other locales) that is merged the same
way locales are patched (updated).
Fixes #3137
Iskren Chernev [Mon, 20 Jun 2016 08:15:51 +0000 (01:15 -0700)]
Merge pull request #3252 from jasperSpeicher:patch-1
Add weeks to Duration interface
Jasper Speicher [Sun, 19 Jun 2016 23:15:10 +0000 (16:15 -0700)]
Add weeks to Duration interface
Weeks are part of the spec here: http://momentjs.com/docs/#/durations/weeks/
Iskren Chernev [Mon, 20 Jun 2016 08:13:53 +0000 (01:13 -0700)]
Merge pull request #3244 from jvanoostveen:dts
Updated moment.d.ts
Joeri van Oostveen [Wed, 15 Jun 2016 10:11:52 +0000 (12:11 +0200)]
Added updateLocale() in the moment namespace.
According to the documentation, the locale can also be updated on the global moment, ie. moment.updateLocale(...).
Joeri van Oostveen [Wed, 15 Jun 2016 10:07:56 +0000 (12:07 +0200)]
Fixed return type in d.ts file for isDuration.
Iskren Chernev [Mon, 20 Jun 2016 08:12:46 +0000 (01:12 -0700)]
Merge pull request #3082 from dasa:amd-moment
Use relative AMD moment dependency
Dasa Paddock [Thu, 31 Mar 2016 19:42:11 +0000 (12:42 -0700)]
Use relative amd moment dependency
Iskren Chernev [Wed, 15 Jun 2016 09:23:57 +0000 (02:23 -0700)]
Merge pull request #3241 from middagj:compute-regex-escape-fix
Escape all 24 mixed pieces, not only first 12 in computeMonthsParse
Iskren Chernev [Wed, 15 Jun 2016 09:23:47 +0000 (02:23 -0700)]
Minor refactor
Jacob Middag [Wed, 15 Jun 2016 07:59:45 +0000 (09:59 +0200)]
Escape all 24 mixed pieces, not only first 12
Iskren Chernev [Wed, 15 Jun 2016 09:20:23 +0000 (02:20 -0700)]
Merge pull request #3234 from ichernev:fix-mwl-comment
Add comment on top of moment-with-locales.js
Iskren Chernev [Sun, 12 Jun 2016 08:53:53 +0000 (01:53 -0700)]
Add comment on top of moment-with-locales.js
Fixes #3159
Iskren Chernev [Wed, 15 Jun 2016 09:18:29 +0000 (02:18 -0700)]
Merge pull request #3233 from ichernev:mont-is-format-lt
Introduce month.isFormat for format/standalone discovery
Iskren Chernev [Wed, 15 Jun 2016 09:13:36 +0000 (02:13 -0700)]
Update isFormat to handle Do MMMM as well as MMMM Do
Iskren Chernev [Sun, 12 Jun 2016 08:18:35 +0000 (01:18 -0700)]
Introduce month.isFormat for format/standalone discovery
Fixes #3195
Iskren Chernev [Wed, 15 Jun 2016 03:40:56 +0000 (20:40 -0700)]
Merge pull request #3236 from Moeriki:develop
add() defaults string specifier to milliseconds
Dieter Luypaert [Mon, 13 Jun 2016 07:51:48 +0000 (09:51 +0200)]
add() defaults string specifier to milliseconds
Iskren Chernev [Wed, 15 Jun 2016 03:40:15 +0000 (20:40 -0700)]
Merge pull request #3238 from ichernev:fix-empty-obj
Handle empty object and empty array for creation as now
Iskren Chernev [Tue, 14 Jun 2016 10:13:57 +0000 (03:13 -0700)]
Make jscs happy
Iskren Chernev [Tue, 14 Jun 2016 08:48:01 +0000 (01:48 -0700)]
Handle empty object and empty array for creation as now
Redo #3111, fix #3085
Iskren Chernev [Tue, 14 Jun 2016 10:11:10 +0000 (03:11 -0700)]
Merge pull request #3232 from ichernev:neg-0-diff
Fix negative 0 in certain diff cases
Iskren Chernev [Sun, 12 Jun 2016 04:52:03 +0000 (21:52 -0700)]
Fix negative 0 in certain diff cases
Fixes #3227
Iskren Chernev [Tue, 14 Jun 2016 10:08:43 +0000 (03:08 -0700)]
Merge pull request #3230 from maggiepint:dateWithDateFormat
fix passing date with format string to ignore format string
Maggie Pint [Sat, 11 Jun 2016 14:47:43 +0000 (09:47 -0500)]
fix passing date with format string to ignore format string
Iskren Chernev [Tue, 14 Jun 2016 10:05:42 +0000 (03:05 -0700)]
Merge pull request #3213 from david-driscoll:patch-2
Added `type UnitOfTime`
David Driscoll [Mon, 6 Jun 2016 19:24:43 +0000 (15:24 -0400)]
Update moment.d.ts
Iskren Chernev [Tue, 14 Jun 2016 09:56:44 +0000 (02:56 -0700)]
Merge pull request #3192 from nickmessing:develop
Adding support for rollup import.
Nick Messing [Sun, 22 May 2016 11:05:38 +0000 (14:05 +0300)]
Adding support for rollup import.
Iskren Chernev [Tue, 14 Jun 2016 09:49:13 +0000 (02:49 -0700)]
Merge pull request #3191 from jonathathan:develop
toDate returns a copy of the internal date object
Jonathan Gray [Sat, 21 May 2016 20:06:10 +0000 (13:06 -0700)]
toDate: remove ternary, add unit test
Jonathan Gray [Thu, 19 May 2016 18:38:16 +0000 (11:38 -0700)]
toDate returns a copy of the internal date object
Iskren Chernev [Tue, 14 Jun 2016 09:48:15 +0000 (02:48 -0700)]
Merge pull request #3183 from sokolovstas:master
Added missing functions to moment.d.ts
Sokolov Stanislav [Fri, 13 May 2016 14:18:39 +0000 (19:18 +0500)]
Added missing functions to moment.d.ts
Added missing isSameOrAfter and isSameOrBefore functions to typings
Iskren Chernev [Tue, 14 Jun 2016 09:46:48 +0000 (02:46 -0700)]
Merge pull request #3177 from nvdh:bugfix-2704
Bug Fix #2704 - isoWeekday(String) inconsistent with isoWeekday(Number)
Iskren Chernev [Tue, 14 Jun 2016 09:28:45 +0000 (02:28 -0700)]
Style changes in parseIsoWeekday
Nick Vanderhoven [Wed, 11 May 2016 05:41:16 +0000 (07:41 +0200)]
Fixes #2704 - isoWeekday(String) inconsistent with isoWeekday(Number)
Iskren Chernev [Tue, 14 Jun 2016 09:23:52 +0000 (02:23 -0700)]
Merge pull request #3175 from maggiepint:calendarExtend
make moment calendar extensible with ad-hoc options
Maggie Pint [Wed, 11 May 2016 04:16:03 +0000 (23:16 -0500)]
make moment calendar extensible with ad-hoc options
Iskren Chernev [Tue, 14 Jun 2016 09:22:18 +0000 (02:22 -0700)]
Merge pull request #3160 from maggiepint:deprecateDSTShifted
deprecate isDSTShifted
Maggie Pint [Sat, 30 Apr 2016 04:08:39 +0000 (05:08 +0100)]
deprecate isDSTShifted
Iskren Chernev [Tue, 14 Jun 2016 09:16:40 +0000 (02:16 -0700)]
Merge pull request #3157 from Pephers:develop
Add Dominican Republic Spanish (es-do)
Chiel Robben [Thu, 28 Apr 2016 19:07:04 +0000 (21:07 +0200)]
Add Dominican Republic Spanish (es-do)
Iskren Chernev [Tue, 14 Jun 2016 09:13:29 +0000 (02:13 -0700)]
Merge pull request #3155 from Knagis:develop
Fixed Latvian locale - 'After 211 years'
Iskren Chernev [Tue, 14 Jun 2016 09:13:21 +0000 (02:13 -0700)]
Make jscs happy
Kārlis Gaņģis [Tue, 7 Jun 2016 09:07:51 +0000 (12:07 +0300)]
Added tests for LV locale
Kārlis Gaņģis [Thu, 28 Apr 2016 13:05:06 +0000 (16:05 +0300)]
Fixed Latvian locale - 'After 211 years'
Iskren Chernev [Tue, 14 Jun 2016 09:09:28 +0000 (02:09 -0700)]
Merge pull request #3152 from aijo:thai-month-fixed
Fixed short thai months
Iskren Chernev [Tue, 14 Jun 2016 09:09:17 +0000 (02:09 -0700)]
Revert changes to locale/*
Chanintorn Asavavichairoj [Tue, 31 May 2016 03:36:26 +0000 (10:36 +0700)]
Fixed short thai months with unit-test
Chanintorn Asavavichairoj [Thu, 28 Apr 2016 09:07:15 +0000 (16:07 +0700)]
Fixed short thai months
Iskren Chernev [Tue, 14 Jun 2016 09:07:31 +0000 (02:07 -0700)]
Merge pull request #3147 from generalov:patch-1
Call calendar format function with moment context
generalov [Tue, 26 Apr 2016 14:46:42 +0000 (19:46 +0500)]
Call calendar format function with moment context
What: the code:
```
moment().days(-1000).calendar(null, {
sameElse: function() {
return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
}
});
```
Where: on http://momentjs.com/docs/#/displaying/calendar-time/ in the Chrome console.
What I got: It raises `Uncaught TypeError: this.hours is not a function`
I expected use callback like in the example on http://momentjs.com/docs/#/customization/calendar/ .
This PR makes the compatible call with https://github.com/moment/moment/blob/develop/src/lib/locale/calendar.js#L14
Iskren Chernev [Tue, 14 Jun 2016 09:06:44 +0000 (02:06 -0700)]
Merge pull request #3135 from tomvlk:develop
Adding updateLocale and defineLocale to typescript definition.
Tom Valk [Wed, 8 Jun 2016 09:54:24 +0000 (11:54 +0200)]
Fixing argument type for updateLocale in definition file.
Tom Valk [Fri, 22 Apr 2016 14:33:14 +0000 (16:33 +0200)]
Adding updateLocale and defineLocale to typescript definition.
Iskren Chernev [Tue, 14 Jun 2016 09:05:25 +0000 (02:05 -0700)]
Drop non-LTS node versions from travis
Iskren Chernev [Tue, 14 Jun 2016 09:03:19 +0000 (02:03 -0700)]
Merge pull request #3129 from david-driscoll:david-driscoll-patch-1
isDate, isMoment, isDuration as guard methods
David Driscoll [Mon, 18 Apr 2016 20:54:37 +0000 (16:54 -0400)]
isDate, isMoment, isDuration as guard methods
Iskren Chernev [Tue, 14 Jun 2016 09:02:31 +0000 (02:02 -0700)]
Merge pull request #3127 from socketpair:rmofix
Fix russian locale regexps
Коренберг Марк (imac) [Mon, 18 Apr 2016 19:59:27 +0000 (00:59 +0500)]
Fix russian locale regexps
Iskren Chernev [Tue, 14 Jun 2016 09:01:52 +0000 (02:01 -0700)]
Merge pull request #3122 from blakeembrey:update-ts-def
Improve `diff` argument name (TS definition)
Blake Embrey [Mon, 18 Apr 2016 18:10:08 +0000 (11:10 -0700)]
Improve `diff` argument name
From discussion in https://github.com/moment/moment/pull/2916/files/
f2e45889e5d7522d7a5e8ffd607b783be320cb3c #r60102231
Iskren Chernev [Tue, 14 Jun 2016 09:00:37 +0000 (02:00 -0700)]
Merge pull request #3119 from hehachris:chris/zh-tw-improvement
Chris/zh tw improvement
Chris Lam [Mon, 18 Apr 2016 06:46:47 +0000 (14:46 +0800)]
Update test cases
Chris Lam [Mon, 18 Apr 2016 06:46:33 +0000 (14:46 +0800)]
Update zh-tw translations
Iskren Chernev [Tue, 14 Jun 2016 08:56:24 +0000 (01:56 -0700)]
Merge pull request #3115 from maggiepint:linkChanges
Link changes
maggie@tempworks.com [Sun, 17 Apr 2016 19:53:36 +0000 (14:53 -0500)]
update links to direct to guides section
Iskren Chernev [Tue, 14 Jun 2016 08:51:36 +0000 (01:51 -0700)]
Merge pull request #3112 from marijaselakovic:develop
optimize configFromStringAndFormat
marija [Fri, 15 Apr 2016 15:34:40 +0000 (17:34 +0200)]
optimize configFromStringAndFormat
Iskren Chernev [Tue, 14 Jun 2016 08:26:13 +0000 (01:26 -0700)]
Merge pull request #3008 from maggiepint:objectSetter
Object setter orders sets based on size of unit
Maggie Pint [Sun, 24 Apr 2016 19:48:08 +0000 (14:48 -0500)]
object set ordering
Iskren Chernev [Tue, 14 Jun 2016 08:25:08 +0000 (01:25 -0700)]
Merge pull request #3237 from ichernev:fix-cs
Redo #2997, fix #2016
Iskren Chernev [Tue, 14 Jun 2016 08:24:07 +0000 (01:24 -0700)]
Redo #2997, fix #2016
Iskren Chernev [Tue, 14 Jun 2016 08:20:20 +0000 (01:20 -0700)]
Merge pull request #2848 from numeraltwo:develop
Allow user to get/set the rounding method used when calculating relative time
Ramsay Stirling II [Mon, 24 Aug 2015 00:03:05 +0000 (20:03 -0400)]
Allow user to get/set the rounding method used when calculating relative time
Iskren Chernev [Sun, 12 Jun 2016 04:32:16 +0000 (21:32 -0700)]
Merge pull request #3218 from monoblaine:jscs-editing
Fix jscs 3.0 errors
Serhan Apaydın [Tue, 7 Jun 2016 19:47:58 +0000 (22:47 +0300)]
Fix code style errors reported by jscs
Serhan Apaydın [Tue, 7 Jun 2016 19:45:56 +0000 (22:45 +0300)]
Fix jscs 3.0 error: 'The `esnext` option is enabled by default.'