diff options
author | paladox <thomasmulhall410@yahoo.com> | 2014-09-06 12:54:30 +0000 |
---|---|---|
committer | Timo Tijhof <krinklemail@gmail.com> | 2014-09-08 01:20:31 +0200 |
commit | 43f46b6c92aaaee0678d6516e799aa8717efda42 (patch) | |
tree | 12d89f45da18e81776916347f4ade4ba448f17b1 /resources/lib/moment/locale/tzm-latn.js | |
parent | d1b6cd35d4aa117c454994b4a7896fee8abf17d2 (diff) | |
download | mediawikicore-43f46b6c92aaaee0678d6516e799aa8717efda42.tar.gz mediawikicore-43f46b6c92aaaee0678d6516e799aa8717efda42.zip |
Update Moment.js from 2.8.1 to 2.8.3
Project site
* http://momentjs.com
* https://github.com/moment/moment/
File source
* https://github.com/moment/moment/tree/2.8.3
Changelog
* https://github.com/moment/moment/blob/2.8.3/CHANGELOG.md
Difference between 2.8.1 and 2.8.3
1.8.3
Bugfixes:
* #1801 proper pluralization for Arabic
* #1833 improve spm integration
* #1871 fix zone bug caused by Firefox 24
* #1882 Use hh:mm in Czech
* #1883 Fix 2.8.0 regression in duration as conversions
* #1890 Faster travis builds
* #1892 Faster isBefore/After/Same
* #1848 Fix flaky month diffs
* #1895 Fix 2.8.0 regression in moment.utc with format array
* #1896 Support setting invalid instance locale (noop)
* #1897 Support moment([str]) in addition to moment([int])
1.8.2
Minor bugfixes:
* #1874 use Object.prototype.hasOwnProperty instead of obj.hasOwnProperty (ie8 bug)
* #1873 add duration#toString()
* #1859 better month/weekday names in norwegian
* #1812 meridiem parsing for greek
* #1804 spanish del -> de
* #1800 korean LT improvement
Change-Id: I60595e8ea41e136c7afee12ad3702ecec6dd4aef
Diffstat (limited to 'resources/lib/moment/locale/tzm-latn.js')
-rw-r--r-- | resources/lib/moment/locale/tzm-latn.js | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/resources/lib/moment/locale/tzm-latn.js b/resources/lib/moment/locale/tzm-latn.js new file mode 100644 index 000000000000..3189772556af --- /dev/null +++ b/resources/lib/moment/locale/tzm-latn.js @@ -0,0 +1,55 @@ +// moment.js locale configuration +// locale : Morocco Central Atlas Tamaziɣt in Latin (tzm-latn) +// author : Abdel Said : https://github.com/abdelsaid + +(function (factory) { + if (typeof define === 'function' && define.amd) { + define(['moment'], factory); // AMD + } else if (typeof exports === 'object') { + module.exports = factory(require('../moment')); // Node + } else { + factory(window.moment); // Browser global + } +}(function (moment) { + return moment.defineLocale('tzm-latn', { + months : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), + monthsShort : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), + weekdays : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + weekdaysShort : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + weekdaysMin : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + longDateFormat : { + LT : 'HH:mm', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY LT', + LLLL : 'dddd D MMMM YYYY LT' + }, + calendar : { + sameDay: '[asdkh g] LT', + nextDay: '[aska g] LT', + nextWeek: 'dddd [g] LT', + lastDay: '[assant g] LT', + lastWeek: 'dddd [g] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'dadkh s yan %s', + past : 'yan %s', + s : 'imik', + m : 'minuḍ', + mm : '%d minuḍ', + h : 'saɛa', + hh : '%d tassaɛin', + d : 'ass', + dd : '%d ossan', + M : 'ayowr', + MM : '%d iyyirn', + y : 'asgas', + yy : '%d isgasn' + }, + week : { + dow : 6, // Saturday is the first day of the week. + doy : 12 // The week that contains Jan 1st is the first week of the year. + } + }); +})); |