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/az.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/az.js')
-rw-r--r-- | resources/lib/moment/lang/az.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/resources/lib/moment/lang/az.js b/resources/lib/moment/lang/az.js index bee1f9a334aa..a6a5aff964ec 100644 --- a/resources/lib/moment/lang/az.js +++ b/resources/lib/moment/lang/az.js @@ -1,5 +1,5 @@ -// moment.js language configuration -// language : azerbaijani (az) +// moment.js locale configuration +// locale : azerbaijani (az) // author : topchiyev : https://github.com/topchiyev (function (factory) { @@ -11,7 +11,6 @@ factory(window.moment); // Browser global } }(function (moment) { - var suffixes = { 1: "-inci", 5: "-inci", @@ -37,7 +36,7 @@ 60: "-ıncı", 90: "-ıncı" }; - return moment.lang('az', { + return moment.defineLocale('az', { months : "yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"), monthsShort : "yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"), weekdays : "Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"), |