source: admin-center/trunk/fuentes/admin-center.install/usr/share/admin-center/lib/bower_components/moment/CHANGELOG.md @ 6782

Last change on this file since 6782 was 6782, checked in by kbut, 20 months ago

add moment and datetimepicker bootstrap plugin

File size: 38.3 KB
Line 
1Changelog
2=========
3
4### 2.20.1 [See changelog](https://gist.github.com/marwahaha/d72c1cb22076373be889b16272cbd187)
5
6* Release Dec 18, 2017
7
8* [#4359](https://github.com/moment/moment/pull/4359) [locale] Fix Arabic locale for months (again)
9* [#4357](https://github.com/moment/moment/pull/4357) [misc] Add optional parameter keepOffset to toISOString
10
11
12### 2.20.0 [See full changelog](https://gist.github.com/marwahaha/e0d4135fbf8bb75fa85c4aa2bddc5031)
13
14* Release Dec 16, 2017
15
16* [#4312](https://github.com/moment/moment/pull/4312) [bugfix] Fix [#4251](https://github.com/moment/moment/pull/4251): Avoid RFC2822 in utc() test
17* [#4240](https://github.com/moment/moment/pull/4240) [bugfix] Fix incorrect strict parsing with full-width parentheses
18* [#4341](https://github.com/moment/moment/pull/4341) [feature] Prevent toISOString converting to UTC (issue [#1751](https://github.com/moment/moment/pull/1751))
19* [#4154](https://github.com/moment/moment/pull/4154) [feature] add format constants to support output to HTML5 input type formats (see [#3928](https://github.com/moment/moment/pull/3928))
20* [#4143](https://github.com/moment/moment/pull/4143) [new locale] mt: Maltese language
21* [#4183](https://github.com/moment/moment/pull/4183) [locale] Relative seconds i18n
22* Various other locale improvements
23
24### 2.19.4 [See changelog](https://gist.github.com/marwahaha/d3b7b0ddf4bdae512244f16e8cc59efb)
25
26* Release Dec 10, 2017
27
28* [#4332](https://github.com/moment/moment/pull/4332) [bugfix] Fix weekday verification for UTC and offset days (fixes [#4227](https://github.com/moment/moment/pull/4227))
29* [#4336](https://github.com/moment/moment/pull/4336) [bugfix] Fix [#4334](https://github.com/moment/moment/pull/4334): Remove unused function call argument
30* [#4246](https://github.com/moment/moment/pull/4246) [misc] Add 'ss' relative time key to typescript definition
31
32### 2.19.3 [See changelog](https://gist.github.com/marwahaha/3654006bc0c2e522451c08d12c0bfabf)
33
34* Release Nov 29, 2017
35
36* [#4326](https://github.com/moment/moment/pull/4326) [bugfix] Fix for ReDOS vulnerability (see [#4163](https://github.com/moment/moment/issues/4163))
37* [#4289](https://github.com/moment/moment/pull/4289) [misc] Fix spelling and formatting for U.S. for es-us
38
39### 2.19.2 [See changelog (it's the same >:D)](https://gist.github.com/ichernev/76b1a3f33d3a8ff9665ce434a45221d0)
40
41* Release Nov 11, 2017
42
43* [#4255](https://github.com/moment/moment/pull/4255) [bugfix] Fix year setter for random days in a leap year, fixes [#4238](https://github.com/moment/moment/issues/4238)
44* [#4242](https://github.com/moment/moment/pull/4242) [bugfix] updateLocale now tries to load parent, fixes [#3626](https://github.com/moment/moment/issues/3626)
45
46### 2.19.1
47
48* Release Oct 11, 2017
49
50Make react native and webpack both work
51* #4225 #4226 #4232
52
53### 2.19.0 [See full changelog](https://gist.github.com/ichernev/5f3f4eb02761b4f765a0cccf02cec603)
54
55* Release Oct 10, 2017
56
57## Fix React Native 0.49+ crash
58* [#4213](https://github.com/moment/moment/pull/4213) [critical] Rename dynamic
59  require to avoid React Native crash
60* [#4214](https://github.com/moment/moment/pull/4214) [fixup] Move require
61  rename inside try/catch, fixes
62  [#4213](https://github.com/moment/moment/issues/4213)
63
64## Features
65
66* [#3735](https://github.com/moment/moment/pull/3735) [feature] Ignore NaN values in setters
67* [#4106](https://github.com/moment/moment/pull/4106) [fixup] Drop isNumeric utility fn, fixes [#3735](https://github.com/moment/moment/issues/3735)
68* [#4080](https://github.com/moment/moment/pull/4080) [feature] Implement a clone method for durations, fixes [#4078](https://github.com/moment/moment/issues/4078)
69* [#4215](https://github.com/moment/moment/pull/4215) [misc] TS: Add duration.clone(), for [#4080](https://github.com/moment/moment/issues/4080)
70
71## Packaging
72
73* [#4003](https://github.com/moment/moment/pull/4003) [pkg] bower: Remove tests from package
74* [#3904](https://github.com/moment/moment/pull/3904) [pkg] jsnext:main -> module in package.json
75* [#4060](https://github.com/moment/moment/pull/4060) [pkg] Account for new rollup interface
76
77Bugfixes, new locales, locale fixes etc...
78
79### 2.18.1
80
81* Release Mar 22, 2017
82
83* [#3853](https://github.com/moment/moment/pull/3853) [misc] Fix invalid whitespace character causing inability to parse
84  moment.js
85
86### 2.18.0 [See full changelog](https://gist.github.com/ichernev/78920c5a1e419fb28c6e4546d1b7235c)
87
88* Release Mar 18, 2017
89
90## Features
91
92* [#3708](https://github.com/moment/moment/pull/3708) [feature] RFC2822 parsing
93* [#3611](https://github.com/moment/moment/pull/3611) [feature] Durations gain validity
94* [#3738](https://github.com/moment/moment/pull/3738) [feature] Enable relative time for multiple seconds, request [#2558](https://github.com/moment/moment/issues/2558)
95* [#3766](https://github.com/moment/moment/pull/3766) [feature] Add support for k and kk format parsing
96
97## Bugfixes
98
99* [#3643](https://github.com/moment/moment/pull/3643) [bugfix] Fixes [#3520](https://github.com/moment/moment/issues/3520), parseZone incorrectly handled minutes under 16
100* [#3710](https://github.com/moment/moment/pull/3710) [bugfix] Fixes [#3632](https://github.com/moment/moment/issues/3632), toISOString returns null for invalid date
101* [#3787](https://github.com/moment/moment/pull/3787) [bugfix] Fixes [#3717](https://github.com/moment/moment/issues/3717), ensure day-of-year is non-zero
102* [#3780](https://github.com/moment/moment/pull/3780) [bugfix] Fixes [#3765](https://github.com/moment/moment/issues/3765): Ensure year 0 is formatted with YYYY
103* [#3806](https://github.com/moment/moment/pull/3806) [bugfix] Fixes [#3805](https://github.com/moment/moment/issues/3805), fix locale month getters for standalone/format cases
104
1057 new locales, many locale improvements and some misc changes
106
107### 2.17.1 [Also available here](https://gist.github.com/ichernev/f38280b2b29c4932914a6d3a4e50bfb2)
108* Release Dec 03, 2016
109
110* [#3638](https://github.com/moment/moment/pull/3638) [misc] TS: Make typescript definitions work with 1.x
111* [#3628](https://github.com/moment/moment/pull/3628) [misc] Adds "sign CLA" link to `CONTRIBUTING.md`
112* [#3640](https://github.com/moment/moment/pull/3640) [misc] Fix locale issues
113
114### 2.17.0 [Also available here](https://gist.github.com/ichernev/ed58f76fb95205eeac653d719972b90c)
115* Release Nov 22, 2016
116
117* [#3435](https://github.com/moment/moment/pull/3435) [new locale] yo: Yoruba (Nigeria) locale
118* [#3595](https://github.com/moment/moment/pull/3595) [bugfix] Fix accidental reference to global "value" variable
119* [#3506](https://github.com/moment/moment/pull/3506) [bugfix] Fix invalid moments returning valid dates to method calls
120* [#3563](https://github.com/moment/moment/pull/3563) [locale] ca: Change future relative time
121* [#3504](https://github.com/moment/moment/pull/3504) [tests] Fixes [#3463](https://github.com/moment/moment/issues/3463), parseZone not handling Z correctly (tests only)
122* [#3591](https://github.com/moment/moment/pull/3591) [misc] typescript: update typescript to 2.0.8, add strictNullChecks=true
123* [#3597](https://github.com/moment/moment/pull/3597) [misc] Fixed capitalization in nuget spec
124
125### 2.16.0 [See full changelog](https://gist.github.com/ichernev/17bffc1005a032cb1a8ac4c1558b4994)
126* Release Nov 9, 2016
127
128## Features
129* [#3530](https://github.com/moment/moment/pull/3530) [feature] Check whether input is date before checking if format is array
130* [#3515](https://github.com/moment/moment/pull/3515) [feature] Fix [#2300](https://github.com/moment/moment/issues/2300): Default to current week.
131
132## Bugfixes
133* [#3546](https://github.com/moment/moment/pull/3546) [bugfix] Implement lazy-loading of child locales with missing prents
134* [#3523](https://github.com/moment/moment/pull/3523) [bugfix] parseZone should handle UTC
135* [#3502](https://github.com/moment/moment/pull/3502) [bugfix] Fix [#3500](https://github.com/moment/moment/issues/3500): ISO 8601 parsing should match the full string, not the beginning of the string.
136* [#3581](https://github.com/moment/moment/pull/3581) [bugfix] Fix parseZone, redo [#3504](https://github.com/moment/moment/issues/3504), fix [#3463](https://github.com/moment/moment/issues/3463)
137
138## New Locales
139* [#3416](https://github.com/moment/moment/pull/3416) [new locale] nl-be: Dutch (Belgium) locale
140* [#3393](https://github.com/moment/moment/pull/3393) [new locale] ar-dz: Arabic (Algeria) locale
141* [#3342](https://github.com/moment/moment/pull/3342) [new locale] tet: Tetun Dili (East Timor) locale
142
143And more locale, build and typescript improvements
144
145### 2.15.2
146* Release Oct 23, 2016
147* [#3525](https://github.com/moment/moment/pull/3525) Speedup month standalone/format regexes **(IMPORTANT)**
148* [#3466](https://github.com/moment/moment/pull/3466) Fix typo of Javanese
149
150### 2.15.1
151* Release Sept 20, 2016
152* [#3438](https://github.com/moment/moment/pull/3438) Fix locale autoload, revert [#3344](https://github.com/moment/moment/pull/3344)
153
154### 2.15.0 [See full changelog](https://gist.github.com/ichernev/10e1c5bf647545c72ca30e9628a09ed3)
155- Release Sept 12, 2016
156
157## New Locales
158* [#3255](https://github.com/moment/moment/pull/3255) [new locale] mi: Maori language
159* [#3267](https://github.com/moment/moment/pull/3267) [new locale] ar-ly: Arabic (Libya) locale
160* [#3333](https://github.com/moment/moment/pull/3333) [new locale] zh-hk: Chinese (Hong Kong) locale
161
162## Bugfixes
163* [#3276](https://github.com/moment/moment/pull/3276) [bugfix] duration: parser: Support ms durations in .NET syntax
164* [#3312](https://github.com/moment/moment/pull/3312) [bugfix] locales: Enable locale-data getters without moment (fixes [#3284](https://github.com/moment/moment/issues/3284))
165* [#3381](https://github.com/moment/moment/pull/3381) [bugfix] parsing: Fix parseZone without timezone in string, fixes [#3083](https://github.com/moment/moment/issues/3083)
166* [#3383](https://github.com/moment/moment/pull/3383) [bugfix] toJSON: Fix isValid so that toJSON works after a moment is frozen
167* [#3427](https://github.com/moment/moment/pull/3427) [bugfix] ie8: Fix IE8 (regression in 2.14.x)
168
169## Packaging
170* [#3299](https://github.com/moment/moment/pull/3299) [pkg] npm: Do not include .npmignore in npm package
171* [#3273](https://github.com/moment/moment/pull/3273) [pkg] jspm: Include moment.d.ts file in package
172* [#3344](https://github.com/moment/moment/pull/3344) [pkg] exports: use module.require for nodejs
173
174Also some locale and typescript improvements
175
176### 2.14.1
177- Release July 20, 2016
178* [#3280](https://github.com/moment/moment/pull/3280) Fix typescript definitions
179
180
181### 2.14.0 [See full changelog](https://gist.github.com/ichernev/812e79ac36a7829a22598fe964bfc18a)
182
183- Release July 20, 2016
184
185## New Features
186* [#3233](https://github.com/moment/moment/pull/3233) Introduce month.isFormat for format/standalone discovery
187* [#2848](https://github.com/moment/moment/pull/2848) Allow user to get/set the rounding method used when calculating relative time
188* [#3112](https://github.com/moment/moment/pull/3112) optimize configFromStringAndFormat
189* [#3147](https://github.com/moment/moment/pull/3147) Call calendar format function with moment context
190* [#3160](https://github.com/moment/moment/pull/3160) deprecate isDSTShifted
191* [#3175](https://github.com/moment/moment/pull/3175) make moment calendar extensible with ad-hoc options
192* [#3191](https://github.com/moment/moment/pull/3191) toDate returns a copy of the internal date object
193* [#3192](https://github.com/moment/moment/pull/3192) Adding support for rollup import.
194* [#3238](https://github.com/moment/moment/pull/3238) Handle empty object and empty array for creation as now
195* [#3082](https://github.com/moment/moment/pull/3082) Use relative AMD moment dependency
196
197## Bugfixes
198* [#3241](https://github.com/moment/moment/pull/3241) Escape all 24 mixed pieces, not only first 12 in computeMonthsParse
199* [#3008](https://github.com/moment/moment/pull/3008) Object setter orders sets based on size of unit
200* [#3177](https://github.com/moment/moment/pull/3177) Bug Fix [#2704](https://github.com/moment/moment/pull/2704) - isoWeekday(String) inconsistent with isoWeekday(Number)
201* [#3230](https://github.com/moment/moment/pull/3230) fix passing date with format string to ignore format string
202* [#3232](https://github.com/moment/moment/pull/3232) Fix negative 0 in certain diff cases
203* [#3235](https://github.com/moment/moment/pull/3235) Use proper locale inheritance for the base locale, fixes [#3137](https://github.com/moment/moment/pull/3137)
204
205Plus es-do locale and locale bugfixes
206
207### 2.13.0 [See full changelog](https://gist.github.com/ichernev/0132fcf5b61f7fc140b0bb0090480d49)
208- Release April 18, 2016
209
210## Enhancements:
211* [#2982](https://github.com/moment/moment/pull/2982) Add 'date' as alias to 'day' for startOf() and endOf().
212* [#2955](https://github.com/moment/moment/pull/2955) Add parsing negative components in durations when ISO 8601
213* [#2991](https://github.com/moment/moment/pull/2991) isBetween support for both open and closed intervals
214* [#3105](https://github.com/moment/moment/pull/3105) Add localeSorted argument to weekday listers
215* [#3102](https://github.com/moment/moment/pull/3102) Add k and kk formatting tokens
216
217## Bugfixes
218* [#3109](https://github.com/moment/moment/pull/3109) Fix [#1756](https://github.com/moment/moment/issues/1756) Resolved thread-safe issue on server side.
219* [#3078](https://github.com/moment/moment/pull/3078) Fix parsing for months/weekdays with weird characters
220* [#3098](https://github.com/moment/moment/pull/3098) Use Z suffix when in UTC mode ([#3020](https://github.com/moment/moment/issues/3020))
221* [#2995](https://github.com/moment/moment/pull/2995) Fix floating point rounding errors in durations
222* [#3059](https://github.com/moment/moment/pull/3059) fix bug where diff returns -0 in month-related diffs
223* [#3045](https://github.com/moment/moment/pull/3045) Fix mistaking any input for 'a' token
224* [#2877](https://github.com/moment/moment/pull/2877) Use explicit .valueOf() calls instead of coercion
225* [#3036](https://github.com/moment/moment/pull/3036) Year setter should keep time when DST changes
226
227Plus 3 new locales and locale fixes.
228
229### 2.12.0 [See full changelog](https://gist.github.com/ichernev/6e5bfdf8d6522fc4ac73)
230
231- Release March 7, 2016
232
233## Enhancements:
234* [#2932](https://github.com/moment/moment/pull/2932) List loaded locales
235* [#2818](https://github.com/moment/moment/pull/2818) Parse ISO-8061 duration containing both day and week values
236* [#2774](https://github.com/moment/moment/pull/2774) Implement locale inheritance and locale updating
237
238## Bugfixes:
239* [#2970](https://github.com/moment/moment/pull/2970) change add subtract to handle decimal values by rounding
240* [#2887](https://github.com/moment/moment/pull/2887) Fix toJSON casting of invalid moment
241* [#2897](https://github.com/moment/moment/pull/2897) parse string arguments for month() correctly, closes #2884
242* [#2946](https://github.com/moment/moment/pull/2946) Fix usage suggestions for min and max
243
244## New locales:
245* [#2917](https://github.com/moment/moment/pull/2917) Locale Punjabi(Gurmukhi) India format conversion
246
247And more
248
249### 2.11.2 (Fix ReDoS attack vector)
250
251- Release February 7, 2016
252
253* [#2939](https://github.com/moment/moment/pull/2939) use full-string match to speed up aspnet regex match
254
255### 2.11.1 [See full changelog](https://gist.github.com/ichernev/8ec3ee25b749b4cff3c2)
256
257- Release January 9, 2016
258
259## Bugfixes:
260* [#2881](https://github.com/moment/moment/pull/2881) Revert "Merge pull request #2746 from mbad0la:develop" Sep->Sept
261* [#2868](https://github.com/moment/moment/pull/2868) Add format and parse token Y, so it actually works
262* [#2865](https://github.com/moment/moment/pull/2865) Use typeof checks for undefined for global variables
263* [#2858](https://github.com/moment/moment/pull/2858) Fix Date mocking regression introduced in 2.11.0
264* [#2864](https://github.com/moment/moment/pull/2864) Include changelog in npm release
265* [#2830](https://github.com/moment/moment/pull/2830) dep: add grunt-cli
266* [#2869](https://github.com/moment/moment/pull/2869) Fix months parsing for some locales
267
268### 2.11.0 [See full changelog](https://gist.github.com/ichernev/6594bc29719dde6b2f66)
269
270- Release January 4, 2016
271
272* [#2624](https://github.com/moment/moment/pull/2624) Proper handling of invalid moments
273* [#2634](https://github.com/moment/moment/pull/2634) Fix strict month parsing issue in cs,ru,sk
274* [#2735](https://github.com/moment/moment/pull/2735) Reset the locale back to 'en' after defining all locales in min/locales.js
275* [#2702](https://github.com/moment/moment/pull/2702) Week rework
276* [#2746](https://github.com/moment/moment/pull/2746) Changed September Abbreviation to "Sept" in locale-specific english
277  files and default locale file
278* [#2646](https://github.com/moment/moment/pull/2646) Fix [#2645](https://github.com/moment/moment/pull/2645) - invalid dates pre-1970
279
280* [#2641](https://github.com/moment/moment/pull/2641) Implement basic format and comma as ms separator in ISO 8601
281* [#2665](https://github.com/moment/moment/pull/2665) Implement stricter weekday parsing
282* [#2700](https://github.com/moment/moment/pull/2700) Add [Hh]mm and [Hh]mmss formatting tokens, so you can parse 123 with
283  hmm for example
284* [#2565](https://github.com/moment/moment/pull/2565) [#2835](https://github.com/moment/moment/pull/2835) Expose arguments used for moment creation with creationData
285  (fix [#2443](https://github.com/moment/moment/pull/2443))
286* [#2648](https://github.com/moment/moment/pull/2648) fix issue [#2640](https://github.com/moment/moment/pull/2640): support instanceof operator
287* [#2709](https://github.com/moment/moment/pull/2709) Add isSameOrAfter and isSameOrBefore comparison methods
288* [#2721](https://github.com/moment/moment/pull/2721) Fix moment creation from object with strings values
289* [#2740](https://github.com/moment/moment/pull/2740) Enable 'd hh:mm:ss.sss' format for durations
290* [#2766](https://github.com/moment/moment/pull/2766) [#2833](https://github.com/moment/moment/pull/2833) Alternate Clock Source Support
291
292### 2.10.6
293
294- Release July 28, 2015
295
296[#2515](https://github.com/moment/moment/pull/2515) Fix regression introduced
297in `2.10.5` related to `moment.ISO_8601` parsing.
298
299### 2.10.5 [See full changelog](https://gist.github.com/ichernev/6ec13ac7efc396da44b2)
300
301- Release July 26, 2015
302
303Important changes:
304* [#2357](https://github.com/moment/moment/pull/2357) Improve unit bubbling for ISO dates
305  this fixes day to year conversions to work around end-of-year (~365 days). As
306  a side effect 365 days is 11 months and 30 days, and 366 days is one year.
307* [#2438](https://github.com/moment/moment/pull/2438) Fix inconsistent moment.min and moment.max results
308  Return invalid result if any of the inputs is invalid
309* [#2494](https://github.com/moment/moment/pull/2494) Fix two digit year parsing with YYYY format
310  This brings the benefits of YY to YYYY
311* [#2368](https://github.com/moment/moment/pull/2368) perf: use faster form of copying dates, across the board improvement
312
313
314### 2.10.3 [See full changelog](https://gist.github.com/ichernev/f264b9bed5b00f8b1b7f)
315
316- Release May 13, 2015
317
318* add `moment.fn.to` and `moment.fn.toNow` (similar to `from` and `fromNow`)
319* new locales (Sinhalese (si), Montenegrin (me), Javanese (ja))
320* performance improvements
321
322### 2.10.2
323
324- Release April 9, 2015
325
326* fixed moment-with-locales in browser env caused by esperanto change
327
328### 2.10.1
329
330* regression: Add moment.duration.fn back
331
332### 2.10.0
333
334Ported code to es6 modules.
335
336### 2.9.0 [See full changelog](https://gist.github.com/ichernev/0c9a9b49951111a27ce7)
337
338- Release January 8, 2015
339
340languages:
341* [2104](https://github.com/moment/moment/issues/2104) Frisian (fy) language file with unit test
342* [2097](https://github.com/moment/moment/issues/2097) add ar-tn locale
343
344deprecations:
345* [2074](https://github.com/moment/moment/issues/2074) Implement `moment.fn.utcOffset`, deprecate `moment.fn.zone`
346
347features:
348* [2088](https://github.com/moment/moment/issues/2088) add moment.fn.isBetween
349* [2054](https://github.com/moment/moment/issues/2054) Call updateOffset when creating moment (needed for default timezone in
350  moment-timezone)
351* [1893](https://github.com/moment/moment/issues/1893) Add moment.isDate method
352* [1825](https://github.com/moment/moment/issues/1825) Implement toJSON function on Duration
353* [1809](https://github.com/moment/moment/issues/1809) Allowing moment.set() to accept a hash of units
354* [2128](https://github.com/moment/moment/issues/2128) Add firstDayOfWeek, firstDayOfYear locale getters
355* [2131](https://github.com/moment/moment/issues/2131) Add quarter diff support
356
357Some bugfixes and language improvements -- [full changelog](https://gist.github.com/ichernev/0c9a9b49951111a27ce7)
358
359### 2.8.4 [See full changelog](https://gist.github.com/ichernev/a4fcb0a46d74e4b9b996)
360
361- Release November 19, 2014
362
363Features:
364
365* [#2000](https://github.com/moment/moment/issues/2000) Add LTS localised format that includes seconds
366* [#1960](https://github.com/moment/moment/issues/1960) added formatToken 'x' for unix offset in milliseconds #1938
367* [#1965](https://github.com/moment/moment/issues/1965) Support 24:00:00.000 to mean next day, at midnight.
368* [#2002](https://github.com/moment/moment/issues/2002) Accept 'date' key when creating moment with object
369* [#2009](https://github.com/moment/moment/issues/2009) Use native toISOString when we can
370
371Some bugfixes and language improvements -- [full changelog](https://gist.github.com/ichernev/a4fcb0a46d74e4b9b996)
372
373### 2.8.3
374
375- Release September 5, 2014
376
377Bugfixes:
378
379* [#1801](https://github.com/moment/moment/issues/1801) proper pluralization for Arabic
380* [#1833](https://github.com/moment/moment/issues/1833) improve spm integration
381* [#1871](https://github.com/moment/moment/issues/1871) fix zone bug caused by Firefox 24
382* [#1882](https://github.com/moment/moment/issues/1882) Use hh:mm in Czech
383* [#1883](https://github.com/moment/moment/issues/1883) Fix 2.8.0 regression in duration as conversions
384* [#1890](https://github.com/moment/moment/issues/1890) Faster travis builds
385* [#1892](https://github.com/moment/moment/issues/1892) Faster isBefore/After/Same
386* [#1848](https://github.com/moment/moment/issues/1848) Fix flaky month diffs
387* [#1895](https://github.com/moment/moment/issues/1895) Fix 2.8.0 regression in moment.utc with format array
388* [#1896](https://github.com/moment/moment/issues/1896) Support setting invalid instance locale (noop)
389* [#1897](https://github.com/moment/moment/issues/1897) Support moment([str]) in addition to moment([int])
390
391### 2.8.2
392
393- Release August 22, 2014
394
395Minor bugfixes:
396
397* [#1874](https://github.com/moment/moment/issues/1874) use `Object.prototype.hasOwnProperty`
398  instead of `obj.hasOwnProperty` (ie8 bug)
399* [#1873](https://github.com/moment/moment/issues/1873) add `duration#toString()`
400* [#1859](https://github.com/moment/moment/issues/1859) better month/weekday names in norwegian
401* [#1812](https://github.com/moment/moment/issues/1812) meridiem parsing for greek
402* [#1804](https://github.com/moment/moment/issues/1804) spanish del -> de
403* [#1800](https://github.com/moment/moment/issues/1800) korean LT improvement
404
405### 2.8.1
406
407- Release August 1, 2014
408
409* bugfix [#1813](https://github.com/moment/moment/issues/1813): fix moment().lang([key]) incompatibility
410
411### 2.8.0 [See changelog](https://gist.github.com/ichernev/ac3899324a5fa6c8c9b4)
412
413- Release July 31, 2014
414
415* incompatible changes
416    * [#1761](https://github.com/moment/moment/issues/1761): moments created without a language are no longer following the global language, in case it changes. Only newly created moments take the global language by default. In case you're affected by this, wait, comment on [#1797](https://github.com/moment/moment/issues/1797) and wait for a proper reimplementation
417    * [#1642](https://github.com/moment/moment/issues/1642): 45 days is no longer "a month" according to humanize, cutoffs for month, and year have changed. Hopefully your code does not depend on a particular answer from humanize (which it shouldn't anyway)
418    * [#1784](https://github.com/moment/moment/issues/1784): if you use the human readable English datetime format in a weird way (like storing them in a database) that would break when the format changes you're at risk.
419
420* deprecations (old behavior will be dropped in 3.0)
421    * [#1761](https://github.com/moment/moment/issues/1761) `lang` is renamed to `locale`, `langData` -> `localeData`. Also there is now `defineLocale` that should be used when creating new locales
422    * [#1763](https://github.com/moment/moment/issues/1763) `add(unit, value)` and `subtract(unit, value)` are now deprecated. Use `add(value, unit)` and `subtract(value, unit)` instead.
423    * [#1759](https://github.com/moment/moment/issues/1759) rename `duration.toIsoString` to `duration.toISOString`. The js standard library and moment's `toISOString` follow that convention.
424
425* new locales
426    * [#1789](https://github.com/moment/moment/issues/1789) Tibetan (bo)
427    * [#1786](https://github.com/moment/moment/issues/1786) Africaans (af)
428    * [#1778](https://github.com/moment/moment/issues/1778) Burmese (my)
429    * [#1727](https://github.com/moment/moment/issues/1727) Belarusian (be)
430
431* bugfixes, locale bugfixes, performance improvements, features
432
433### 2.7.0 [See changelog](https://gist.github.com/ichernev/b0a3d456d5a84c9901d7)
434
435- Release June 12, 2014
436
437* new languages
438
439  * [#1678](https://github.com/moment/moment/issues/1678) Bengali (bn)
440  * [#1628](https://github.com/moment/moment/issues/1628) Azerbaijani (az)
441  * [#1633](https://github.com/moment/moment/issues/1633) Arabic, Saudi Arabia (ar-sa)
442  * [#1648](https://github.com/moment/moment/issues/1648) Austrian German (de-at)
443
444* features
445
446  * [#1663](https://github.com/moment/moment/issues/1663) configurable relative time thresholds
447  * [#1554](https://github.com/moment/moment/issues/1554) support anchor time in moment.calendar
448  * [#1693](https://github.com/moment/moment/issues/1693) support moment.ISO_8601 as parsing format
449  * [#1637](https://github.com/moment/moment/issues/1637) add moment.min and moment.max and deprecate min/max instance methods
450  * [#1704](https://github.com/moment/moment/issues/1704) support string value in add/subtract
451  * [#1647](https://github.com/moment/moment/issues/1647) add spm support (package manager)
452
453* bugfixes
454
455### 2.6.0 [See changelog](https://gist.github.com/ichernev/10544682)
456
457- Release April 12 , 2014
458
459* languages
460  * [#1529](https://github.com/moment/moment/issues/1529) Serbian-Cyrillic (sr-cyr)
461  * [#1544](https://github.com/moment/moment/issues/1544), [#1546](https://github.com/moment/moment/issues/1546) Khmer Cambodia (km)
462
463* features
464    * [#1419](https://github.com/moment/moment/issues/1419), [#1468](https://github.com/moment/moment/issues/1468), [#1467](https://github.com/moment/moment/issues/1467), [#1546](https://github.com/moment/moment/issues/1546) better handling of timezone-d moments around DST
465    * [#1462](https://github.com/moment/moment/issues/1462) add weeksInYear and isoWeeksInYear
466    * [#1475](https://github.com/moment/moment/issues/1475) support ordinal parsing
467    * [#1499](https://github.com/moment/moment/issues/1499) composer support
468    * [#1577](https://github.com/moment/moment/issues/1577), [#1604](https://github.com/moment/moment/issues/1604) put Date parsing in moment.createFromInputFallback so it can be properly deprecated and controlled in the future
469    * [#1545](https://github.com/moment/moment/issues/1545) extract two-digit year parsing in moment.parseTwoDigitYear, so it can be overwritten
470    * [#1590](https://github.com/moment/moment/issues/1590) (see [#1574](https://github.com/moment/moment/issues/1574)) set AMD global before module definition to better support non AMD module dependencies used in AMD environment
471    * [#1589](https://github.com/moment/moment/issues/1589) remove global in Node.JS environment (was not working before, nobody complained, was scheduled for removal anyway)
472    * [#1586](https://github.com/moment/moment/issues/1586) support quarter setting and parsing
473
474* 18 bugs fixed
475
476### 2.5.1
477
478- Release January 22, 2014
479
480* languages
481  * [#1392](https://github.com/moment/moment/issues/1392) Armenian (hy-am)
482
483* bugfixes
484  * [#1429](https://github.com/moment/moment/issues/1429) fixes [#1423](https://github.com/moment/moment/issues/1423) weird chrome-32 bug with js object creation
485  * [#1421](https://github.com/moment/moment/issues/1421) remove html entities from Welsh
486  * [#1418](https://github.com/moment/moment/issues/1418) fixes [#1401](https://github.com/moment/moment/issues/1401) improved non-padded tokens in strict matching
487  * [#1417](https://github.com/moment/moment/issues/1417) fixes [#1404](https://github.com/moment/moment/issues/1404) handle buggy moment object created by property cloning
488  * [#1398](https://github.com/moment/moment/issues/1398) fixes [#1397](https://github.com/moment/moment/issues/1397) fix Arabic-like week number parsing
489  * [#1396](https://github.com/moment/moment/issues/1396) add leftZeroFill(4) to GGGG and gggg formats
490  * [#1373](https://github.com/moment/moment/issues/1373) use lowercase for months and days in Catalan
491
492* testing
493  * [#1374](https://github.com/moment/moment/issues/1374) run tests on multiple browser/os combos via SauceLabs and Travis
494
495### 2.5.0 [See changelog](https://gist.github.com/ichernev/8104451)
496
497- Release Dec 24, 2013
498
499* New languages
500  * Luxemburish (lb) [1247](https://github.com/moment/moment/issues/1247)
501  * Serbian (rs) [1319](https://github.com/moment/moment/issues/1319)
502  * Tamil (ta) [1324](https://github.com/moment/moment/issues/1324)
503  * Macedonian (mk) [1337](https://github.com/moment/moment/issues/1337)
504
505* Features
506  * [1311](https://github.com/moment/moment/issues/1311) Add quarter getter and format token `Q`
507  * [1303](https://github.com/moment/moment/issues/1303) strict parsing now respects number of digits per token (fix [1196](https://github.com/moment/moment/issues/1196))
508  * 0d30bb7 add jspm support
509  * [1347](https://github.com/moment/moment/issues/1347) improve zone parsing
510  * [1362](https://github.com/moment/moment/issues/1362) support merideam parsing in Korean
511
512* 22 bugfixes
513
514### 2.4.0
515
516- Release Oct 27, 2013
517
518* **Deprecate** globally exported moment, will be removed in next major
519* New languages
520  * Farose (fo) [#1206](https://github.com/moment/moment/issues/1206)
521  * Tagalog/Filipino (tl-ph) [#1197](https://github.com/moment/moment/issues/1197)
522  * Welsh (cy) [#1215](https://github.com/moment/moment/issues/1215)
523* Bugfixes
524  * properly handle Z at the end of iso RegExp [#1187](https://github.com/moment/moment/issues/1187)
525  * chinese meridian time improvements [#1076](https://github.com/moment/moment/issues/1076)
526  * fix language tests [#1177](https://github.com/moment/moment/issues/1177)
527  * remove some failing tests (that should have never existed :))
528    [#1185](https://github.com/moment/moment/issues/1185)
529    [#1183](https://github.com/moment/moment/issues/1183)
530  * handle russian noun cases in weird cases [#1195](https://github.com/moment/moment/issues/1195)
531
532### 2.3.1
533
534- Release Oct 9, 2013
535
536Removed a trailing comma [1169] and fixed a bug with `months`, `weekdays` getters [#1171](https://github.com/moment/moment/issues/1171).
537
538### 2.3.0 [See changelog](https://gist.github.com/ichernev/6864354)
539
540- Release Oct 7, 2013
541
542Changed isValid, added strict parsing.
543Week tokens parsing.
544
545### 2.2.1
546
547- Release Sep 12, 2013
548
549Fixed bug in string prototype test.
550Updated authors and contributors.
551
552### 2.2.0 [See changelog](https://gist.github.com/ichernev/00f837a9baf46a3565e4)
553
554- Release  Sep 11, 2013
555
556Added bower support.
557
558Language files now use UMD.
559
560Creating moment defaults to current date/month/year.
561
562Added a bundle of moment and all language files.
563
564### 2.1.0 [See changelog](https://gist.github.com/timrwood/b8c2d90d528eddb53ab5)
565
566- Release Jul 8, 2013
567
568Added better week support.
569
570Added ability to set offset with `moment#zone`.
571
572Added ability to set month or weekday from a string.
573
574Added `moment#min` and `moment#max`
575
576### 2.0.0 [See changelog](https://gist.github.com/timrwood/e72f2eef320ed9e37c51)
577
578- Release Feb 9, 2013
579
580Added short form localized tokens.
581
582Added ability to define language a string should be parsed in.
583
584Added support for reversed add/subtract arguments.
585
586Added support for `endOf('week')` and `startOf('week')`.
587
588Fixed the logic for `moment#diff(Moment, 'months')` and `moment#diff(Moment, 'years')`
589
590`moment#diff` now floors instead of rounds.
591
592Normalized `moment#toString`.
593
594Added `isSame`, `isAfter`, and `isBefore` methods.
595
596Added better week support.
597
598Added `moment#toJSON`
599
600Bugfix: Fixed parsing of first century dates
601
602Bugfix: Parsing 10Sep2001 should work as expected
603
604Bugfix: Fixed weirdness with `moment.utc()` parsing.
605
606Changed language ordinal method to return the number + ordinal instead of just the ordinal.
607
608Changed two digit year parsing cutoff to match strptime.
609
610Removed `moment#sod` and `moment#eod` in favor of `moment#startOf` and `moment#endOf`.
611
612Removed `moment.humanizeDuration()` in favor of `moment.duration().humanize()`.
613
614Removed the lang data objects from the top level namespace.
615
616Duplicate `Date` passed to `moment()` instead of referencing it.
617
618### 1.7.2 [See discussion](https://github.com/timrwood/moment/issues/456)
619
620- Release Oct 2, 2012
621
622Bugfixes
623
624### 1.7.1 [See discussion](https://github.com/timrwood/moment/issues/384)
625
626- Release Oct 1, 2012
627
628Bugfixes
629
630### 1.7.0 [See discussion](https://github.com/timrwood/moment/issues/288)
631
632- Release Jul 26, 2012
633
634Added `moment.fn.endOf()` and `moment.fn.startOf()`.
635
636Added validation via `moment.fn.isValid()`.
637
638Made formatting method 3x faster. http://jsperf.com/momentjs-cached-format-functions
639
640Add support for month/weekday callbacks in `moment.fn.format()`
641
642Added instance specific languages.
643
644Added two letter weekday abbreviations with the formatting token `dd`.
645
646Various language updates.
647
648Various bugfixes.
649
650### 1.6.0 [See discussion](https://github.com/timrwood/moment/pull/268)
651
652- Release Apr 26, 2012
653
654Added Durations.
655
656Revamped parser to support parsing non-separated strings (YYYYMMDD vs YYYY-MM-DD).
657
658Added support for millisecond parsing and formatting tokens (S SS SSS)
659
660Added a getter for `moment.lang()`
661
662Various bugfixes.
663
664There are a few things deprecated in the 1.6.0 release.
665
6661. The format tokens `z` and `zz` (timezone abbreviations like EST CST MST etc) will no longer be supported. Due to inconsistent browser support, we are unable to consistently produce this value. See [this issue](https://github.com/timrwood/moment/issues/162) for more background.
667
6682. The method `moment.fn.native` is deprecated in favor of `moment.fn.toDate`. There continue to be issues with Google Closure Compiler throwing errors when using `native`, even in valid instances.
669
6703. The way to customize am/pm strings is being changed. This would only affect you if you created a custom language file. For more information, see [this issue](https://github.com/timrwood/moment/pull/222).
671
672### 1.5.0 [See milestone](https://github.com/timrwood/moment/issues?milestone=10&page=1&state=closed)
673
674- Release Mar 20, 2012
675
676Added UTC mode.
677
678Added automatic ISO8601 parsing.
679
680Various bugfixes.
681
682### 1.4.0 [See milestone](https://github.com/timrwood/moment/issues?milestone=8&state=closed)
683
684- Release Feb 4, 2012
685
686Added `moment.fn.toDate` as a replacement for `moment.fn.native`.
687
688Added `moment.fn.sod` and `moment.fn.eod` to get the start and end of day.
689
690Various bugfixes.
691
692### 1.3.0 [See milestone](https://github.com/timrwood/moment/issues?milestone=7&state=closed)
693
694- Release Jan 5, 2012
695
696Added support for parsing month names in the current language.
697
698Added escape blocks for parsing tokens.
699
700Added `moment.fn.calendar` to format strings like 'Today 2:30 PM', 'Tomorrow 1:25 AM', and 'Last Sunday 4:30 AM'.
701
702Added `moment.fn.day` as a setter.
703
704Various bugfixes
705
706### 1.2.0 [See milestone](https://github.com/timrwood/moment/issues?milestone=4&state=closed)
707
708- Release Dec 7, 2011
709
710Added timezones to parser and formatter.
711
712Added `moment.fn.isDST`.
713
714Added `moment.fn.zone` to get the timezone offset in minutes.
715
716### 1.1.2 [See milestone](https://github.com/timrwood/moment/issues?milestone=6&state=closed)
717
718- Release Nov 18, 2011
719
720Various bugfixes
721
722### 1.1.1 [See milestone](https://github.com/timrwood/moment/issues?milestone=5&state=closed)
723
724- Release Nov 12, 2011
725
726Added time specific diffs (months, days, hours, etc)
727
728### 1.1.0
729
730- Release Oct 28, 2011
731
732Added `moment.fn.format` localized masks. 'L LL LLL LLLL' [issue 29](https://github.com/timrwood/moment/pull/29)
733
734Fixed [issue 31](https://github.com/timrwood/moment/pull/31).
735
736### 1.0.1
737
738- Release Oct 18, 2011
739
740Added `moment.version` to get the current version.
741
742Removed `window !== undefined` when checking if module exists to support browserify. [issue 25](https://github.com/timrwood/moment/pull/25)
743
744### 1.0.0
745
746- Release
747
748Added convenience methods for getting and setting date parts.
749
750Added better support for `moment.add()`.
751
752Added better lang support in NodeJS.
753
754Renamed library from underscore.date to Moment.js
755
756### 0.6.1
757
758- Release Oct 12, 2011
759
760Added Portuguese, Italian, and French language support
761
762### 0.6.0
763
764- Release Sep 21, 2011
765
766Added _date.lang() support.
767Added support for passing multiple formats to try to parse a date. _date("07-10-1986", ["MM-DD-YYYY", "YYYY-MM-DD"]);
768Made parse from string and single format 25% faster.
769
770### 0.5.2
771
772- Release Jul 11, 2011
773
774Bugfix for [issue 8](https://github.com/timrwood/underscore.date/pull/8) and [issue 9](https://github.com/timrwood/underscore.date/pull/9).
775
776### 0.5.1
777
778- Release Jun 17, 2011
779
780Bugfix for [issue 5](https://github.com/timrwood/underscore.date/pull/5).
781
782### 0.5.0
783
784- Release Jun 13, 2011
785
786Dropped the redundant `_date.date()` in favor of `_date()`.
787Removed `_date.now()`, as it is a duplicate of `_date()` with no parameters.
788Removed `_date.isLeapYear(yearNumber)`. Use `_date([yearNumber]).isLeapYear()` instead.
789Exposed customization options through the `_date.relativeTime`, `_date.weekdays`, `_date.weekdaysShort`, `_date.months`, `_date.monthsShort`, and `_date.ordinal` variables instead of the `_date.customize()` function.
790
791### 0.4.1
792
793- Release May 9, 2011
794
795Added date input formats for input strings.
796
797### 0.4.0
798
799- Release May 9, 2011
800
801Added underscore.date to npm. Removed dependencies on underscore.
802
803### 0.3.2
804
805- Release Apr 9, 2011
806
807Added `'z'` and `'zz'` to `_.date().format()`. Cleaned up some redundant code to trim off some bytes.
808
809### 0.3.1
810
811- Release Mar 25, 2011
812
813Cleaned up the namespace. Moved all date manipulation and display functions to the _.date() object.
814
815### 0.3.0
816
817- Release Mar 25, 2011
818
819Switched to the Underscore methodology of not mucking with the native objects' prototypes.
820Made chaining possible.
821
822### 0.2.1
823
824- Release
825
826Changed date names to be a more pseudo standardized 'dddd, MMMM Do YYYY, h:mm:ss a'.
827Added `Date.prototype` functions `add`, `subtract`, `isdst`, and `isleapyear`.
828
829### 0.2.0
830
831- Release
832
833Changed function names to be more concise.
834Changed date format from php date format to custom format.
835
836### 0.1.0
837
838- Release
839
840Initial release
841
Note: See TracBrowser for help on using the repository browser.