diff options
author | paladox <thomasmulhall410@yahoo.com> | 2014-08-04 11:13:21 +0000 |
---|---|---|
committer | Jdlrobson <jrobson@wikimedia.org> | 2014-08-15 17:05:51 +0000 |
commit | 96307e411c3b6ead354b6d96ff84200a627d9ed6 (patch) | |
tree | 36db2c92034b5e4382d4395f61323c07a668452d /resources/lib/moment/lang/mk.js | |
parent | b061c276b59325e2cdb2004ef306cb3553fa69c0 (diff) | |
download | mediawikicore-96307e411c3b6ead354b6d96ff84200a627d9ed6.tar.gz mediawikicore-96307e411c3b6ead354b6d96ff84200a627d9ed6.zip |
Update Moment.js from 2.7.0 to 2.8.1
Project site
* http://momentjs.com/ and https://github.com/moment/moment/
File source
* https://github.com/moment/moment/blob/2.8.1/moment.js
README
* https://github.com/moment/moment/blob/2.8.1/readme.md
Changelog
1.8.0 changelog
* https://gist.github.com/ichernev/ac3899324a5fa6c8c9b4
1.8.1 changelog
* https://github.com/moment/moment/blob/2.8.1/CHANGELOG.md
difference between 2.7.0 and 2.8.1
incompatible changes
* #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 and wait for a proper reimplementation
* #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)
* #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.
* #1785 moment.momentProperties is now an array of properties instead of a hash. If you have a plugin that uses it to make sure cloned moments will retain the plugin-added properties you need to change your code.
deprecations (old behavior will be dropped in 3.0)
* #1761 lang is renamed to locale , langData -> localeData . Also there is now defineLocale that should be used when creating new locales
* #1763 add(unit, value) and subtract(unit, value) are now deprecated. Use add(value, unit) and subtract(value, unit) instead.
* #1759 rename duration.toIsoString to duration.toISOString . The js standard library and moment's toISOString follow that convention.
new locales
* #1789 Tibetan (bo)
* #1786 Africaans (af)
* #1778 Burmese (my)
* #1727 Belarusian (be)
bugfixes
* #1738 local to zone conversion with keepLocalTime=true
* #1642 more accurate humanize
performance
* #1808 speedup cloning 49x
* #1708 speedup creation with Date object
features
*#1716 moment.relativeTimeThreshold now supports getting the existing threshold
locale bugfix
* #1784 add comma between day-of-month and year in us-en
* #1710 fix lithuanian month name
2.8.1
* bugfix #1813: fix moment().lang([key]) incompatibility
Change-Id: Iaffaaa18e08773f8f36e83e918e61a2259f1e2e3
Diffstat (limited to 'resources/lib/moment/lang/mk.js')
-rw-r--r-- | resources/lib/moment/lang/mk.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/lib/moment/lang/mk.js b/resources/lib/moment/lang/mk.js index 5f272fa2db5f..2d8a739abb12 100644 --- a/resources/lib/moment/lang/mk.js +++ b/resources/lib/moment/lang/mk.js @@ -1,5 +1,5 @@ -// moment.js language configuration -// language : macedonian (mk) +// moment.js locale configuration +// locale : macedonian (mk) // author : Borislav Mickov : https://github.com/B0k0 (function (factory) { @@ -11,7 +11,7 @@ factory(window.moment); // Browser global } }(function (moment) { - return moment.lang('mk', { + return moment.defineLocale('mk', { months : "јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"), monthsShort : "јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"), weekdays : "недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"), |