Bumped AdminLTE and its libraries from 3.0.4 to 3.1 This broke Calendar support will fix
This commit is contained in:
+49
-42
@@ -1,4 +1,6 @@
|
||||
//! moment.js locale configuration
|
||||
//! locale : siSwati [ss]
|
||||
//! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies
|
||||
|
||||
;(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined'
|
||||
@@ -7,48 +9,53 @@
|
||||
factory(global.moment)
|
||||
}(this, (function (moment) { 'use strict';
|
||||
|
||||
//! moment.js locale configuration
|
||||
|
||||
var ss = moment.defineLocale('ss', {
|
||||
months : "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'),
|
||||
monthsShort : 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
|
||||
weekdays : 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'),
|
||||
weekdaysShort : 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
|
||||
weekdaysMin : 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
|
||||
weekdaysParseExact : true,
|
||||
longDateFormat : {
|
||||
LT : 'h:mm A',
|
||||
LTS : 'h:mm:ss A',
|
||||
L : 'DD/MM/YYYY',
|
||||
LL : 'D MMMM YYYY',
|
||||
LLL : 'D MMMM YYYY h:mm A',
|
||||
LLLL : 'dddd, D MMMM YYYY h:mm A'
|
||||
months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split(
|
||||
'_'
|
||||
),
|
||||
monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
|
||||
weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split(
|
||||
'_'
|
||||
),
|
||||
weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
|
||||
weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
|
||||
weekdaysParseExact: true,
|
||||
longDateFormat: {
|
||||
LT: 'h:mm A',
|
||||
LTS: 'h:mm:ss A',
|
||||
L: 'DD/MM/YYYY',
|
||||
LL: 'D MMMM YYYY',
|
||||
LLL: 'D MMMM YYYY h:mm A',
|
||||
LLLL: 'dddd, D MMMM YYYY h:mm A',
|
||||
},
|
||||
calendar : {
|
||||
sameDay : '[Namuhla nga] LT',
|
||||
nextDay : '[Kusasa nga] LT',
|
||||
nextWeek : 'dddd [nga] LT',
|
||||
lastDay : '[Itolo nga] LT',
|
||||
lastWeek : 'dddd [leliphelile] [nga] LT',
|
||||
sameElse : 'L'
|
||||
calendar: {
|
||||
sameDay: '[Namuhla nga] LT',
|
||||
nextDay: '[Kusasa nga] LT',
|
||||
nextWeek: 'dddd [nga] LT',
|
||||
lastDay: '[Itolo nga] LT',
|
||||
lastWeek: 'dddd [leliphelile] [nga] LT',
|
||||
sameElse: 'L',
|
||||
},
|
||||
relativeTime : {
|
||||
future : 'nga %s',
|
||||
past : 'wenteka nga %s',
|
||||
s : 'emizuzwana lomcane',
|
||||
ss : '%d mzuzwana',
|
||||
m : 'umzuzu',
|
||||
mm : '%d emizuzu',
|
||||
h : 'lihora',
|
||||
hh : '%d emahora',
|
||||
d : 'lilanga',
|
||||
dd : '%d emalanga',
|
||||
M : 'inyanga',
|
||||
MM : '%d tinyanga',
|
||||
y : 'umnyaka',
|
||||
yy : '%d iminyaka'
|
||||
relativeTime: {
|
||||
future: 'nga %s',
|
||||
past: 'wenteka nga %s',
|
||||
s: 'emizuzwana lomcane',
|
||||
ss: '%d mzuzwana',
|
||||
m: 'umzuzu',
|
||||
mm: '%d emizuzu',
|
||||
h: 'lihora',
|
||||
hh: '%d emahora',
|
||||
d: 'lilanga',
|
||||
dd: '%d emalanga',
|
||||
M: 'inyanga',
|
||||
MM: '%d tinyanga',
|
||||
y: 'umnyaka',
|
||||
yy: '%d iminyaka',
|
||||
},
|
||||
meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
|
||||
meridiem : function (hours, minutes, isLower) {
|
||||
meridiem: function (hours, minutes, isLower) {
|
||||
if (hours < 11) {
|
||||
return 'ekuseni';
|
||||
} else if (hours < 15) {
|
||||
@@ -59,7 +66,7 @@
|
||||
return 'ebusuku';
|
||||
}
|
||||
},
|
||||
meridiemHour : function (hour, meridiem) {
|
||||
meridiemHour: function (hour, meridiem) {
|
||||
if (hour === 12) {
|
||||
hour = 0;
|
||||
}
|
||||
@@ -75,11 +82,11 @@
|
||||
}
|
||||
},
|
||||
dayOfMonthOrdinalParse: /\d{1,2}/,
|
||||
ordinal : '%d',
|
||||
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.
|
||||
}
|
||||
ordinal: '%d',
|
||||
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.
|
||||
},
|
||||
});
|
||||
|
||||
return ss;
|
||||
|
||||
Reference in New Issue
Block a user