aboutsummaryrefslogtreecommitdiffstats
path: root/resources/lib/moment/lang/my.js
diff options
context:
space:
mode:
authorpaladox <thomasmulhall410@yahoo.com>2014-09-06 12:54:30 +0000
committerTimo Tijhof <krinklemail@gmail.com>2014-09-08 01:20:31 +0200
commit43f46b6c92aaaee0678d6516e799aa8717efda42 (patch)
tree12d89f45da18e81776916347f4ade4ba448f17b1 /resources/lib/moment/lang/my.js
parentd1b6cd35d4aa117c454994b4a7896fee8abf17d2 (diff)
downloadmediawikicore-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/lang/my.js')
-rw-r--r--resources/lib/moment/lang/my.js88
1 files changed, 0 insertions, 88 deletions
diff --git a/resources/lib/moment/lang/my.js b/resources/lib/moment/lang/my.js
deleted file mode 100644
index 442d5693c1ea..000000000000
--- a/resources/lib/moment/lang/my.js
+++ /dev/null
@@ -1,88 +0,0 @@
-// moment.js locale configuration
-// locale : Burmese (my)
-// author : Squar team, mysquar.com
-
-(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) {
- var symbolMap = {
- '1': '၁',
- '2': '၂',
- '3': '၃',
- '4': '၄',
- '5': '၅',
- '6': '၆',
- '7': '၇',
- '8': '၈',
- '9': '၉',
- '0': '၀'
- }, numberMap = {
- '၁': '1',
- '၂': '2',
- '၃': '3',
- '၄': '4',
- '၅': '5',
- '၆': '6',
- '၇': '7',
- '၈': '8',
- '၉': '9',
- '၀': '0'
- };
- return moment.defineLocale('my', {
- months: "ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),
- monthsShort: "ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),
- weekdays: "တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),
- weekdaysShort: "နွေ_လာ_င်္ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),
- weekdaysMin: "နွေ_လာ_င်္ဂါ_ဟူး_ကြာ_သော_နေ".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: '[ယနေ.] LT [မှာ]',
- nextDay: '[မနက်ဖြန်] LT [မှာ]',
- nextWeek: 'dddd LT [မှာ]',
- lastDay: '[မနေ.က] LT [မှာ]',
- lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
- sameElse: 'L'
- },
- relativeTime: {
- future: "လာမည့် %s မှာ",
- past: "လွန်ခဲ့သော %s က",
- s: "စက္ကန်.အနည်းငယ်",
- m: "တစ်မိနစ်",
- mm: "%d မိနစ်",
- h: "တစ်နာရီ",
- hh: "%d နာရီ",
- d: "တစ်ရက်",
- dd: "%d ရက်",
- M: "တစ်လ",
- MM: "%d လ",
- y: "တစ်နှစ်",
- yy: "%d နှစ်"
- },
- preparse: function (string) {
- return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
- return numberMap[match];
- });
- },
- postformat: function (string) {
- return string.replace(/\d/g, function (match) {
- return symbolMap[match];
- });
- },
- week: {
- dow: 1, // Monday is the first day of the week.
- doy: 4 // The week that contains Jan 1st is the first week of the year.
- }
- });
-}));