Bumped AdminLTE and its libraries from 3.0.4 to 3.1 This broke Calendar support will fix
This commit is contained in:
+40
-30
@@ -1,4 +1,8 @@
|
||||
//! moment.js locale configuration
|
||||
//! locale : Burmese [my]
|
||||
//! author : Squar team, mysquar.com
|
||||
//! author : David Rossellat : https://github.com/gholadr
|
||||
//! author : Tin Aung Lin : https://github.com/thanyawzinmin
|
||||
|
||||
;(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined'
|
||||
@@ -7,35 +11,41 @@
|
||||
factory(global.moment)
|
||||
}(this, (function (moment) { 'use strict';
|
||||
|
||||
//! moment.js locale configuration
|
||||
|
||||
var symbolMap = {
|
||||
'1': '၁',
|
||||
'2': '၂',
|
||||
'3': '၃',
|
||||
'4': '၄',
|
||||
'5': '၅',
|
||||
'6': '၆',
|
||||
'7': '၇',
|
||||
'8': '၈',
|
||||
'9': '၉',
|
||||
'0': '၀'
|
||||
}, numberMap = {
|
||||
'၁': '1',
|
||||
'၂': '2',
|
||||
'၃': '3',
|
||||
'၄': '4',
|
||||
'၅': '5',
|
||||
'၆': '6',
|
||||
'၇': '7',
|
||||
'၈': '8',
|
||||
'၉': '9',
|
||||
'၀': '0'
|
||||
};
|
||||
1: '၁',
|
||||
2: '၂',
|
||||
3: '၃',
|
||||
4: '၄',
|
||||
5: '၅',
|
||||
6: '၆',
|
||||
7: '၇',
|
||||
8: '၈',
|
||||
9: '၉',
|
||||
0: '၀',
|
||||
},
|
||||
numberMap = {
|
||||
'၁': '1',
|
||||
'၂': '2',
|
||||
'၃': '3',
|
||||
'၄': '4',
|
||||
'၅': '5',
|
||||
'၆': '6',
|
||||
'၇': '7',
|
||||
'၈': '8',
|
||||
'၉': '9',
|
||||
'၀': '0',
|
||||
};
|
||||
|
||||
var my = moment.defineLocale('my', {
|
||||
months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'),
|
||||
months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split(
|
||||
'_'
|
||||
),
|
||||
monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
|
||||
weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'),
|
||||
weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split(
|
||||
'_'
|
||||
),
|
||||
weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
|
||||
weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
|
||||
|
||||
@@ -45,7 +55,7 @@
|
||||
L: 'DD/MM/YYYY',
|
||||
LL: 'D MMMM YYYY',
|
||||
LLL: 'D MMMM YYYY HH:mm',
|
||||
LLLL: 'dddd D MMMM YYYY HH:mm'
|
||||
LLLL: 'dddd D MMMM YYYY HH:mm',
|
||||
},
|
||||
calendar: {
|
||||
sameDay: '[ယနေ.] LT [မှာ]',
|
||||
@@ -53,13 +63,13 @@
|
||||
nextWeek: 'dddd LT [မှာ]',
|
||||
lastDay: '[မနေ.က] LT [မှာ]',
|
||||
lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
|
||||
sameElse: 'L'
|
||||
sameElse: 'L',
|
||||
},
|
||||
relativeTime: {
|
||||
future: 'လာမည့် %s မှာ',
|
||||
past: 'လွန်ခဲ့သော %s က',
|
||||
s: 'စက္ကန်.အနည်းငယ်',
|
||||
ss : '%d စက္ကန့်',
|
||||
ss: '%d စက္ကန့်',
|
||||
m: 'တစ်မိနစ်',
|
||||
mm: '%d မိနစ်',
|
||||
h: 'တစ်နာရီ',
|
||||
@@ -69,7 +79,7 @@
|
||||
M: 'တစ်လ',
|
||||
MM: '%d လ',
|
||||
y: 'တစ်နှစ်',
|
||||
yy: '%d နှစ်'
|
||||
yy: '%d နှစ်',
|
||||
},
|
||||
preparse: function (string) {
|
||||
return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
|
||||
@@ -83,8 +93,8 @@
|
||||
},
|
||||
week: {
|
||||
dow: 1, // Monday is the first day of the week.
|
||||
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
||||
}
|
||||
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||
},
|
||||
});
|
||||
|
||||
return my;
|
||||
|
||||
Reference in New Issue
Block a user