mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 12:34:34 +08:00
updates moment.js 2.22.1 and vendor moment-timezone 0.5.14
This commit is contained in:
91
lib/javascripts/moment_locale/sw.js
Normal file → Executable file
91
lib/javascripts/moment_locale/sw.js
Normal file → Executable file
@ -1,6 +1,4 @@
|
||||
//! moment.js locale configuration
|
||||
//! locale : Swahili [sw]
|
||||
//! author : Fahad Kassim : https://github.com/fadsel
|
||||
|
||||
;(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined'
|
||||
@ -10,50 +8,51 @@
|
||||
}(this, (function (moment) { 'use strict';
|
||||
|
||||
|
||||
var sw = moment.defineLocale('sw', {
|
||||
months : 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'),
|
||||
monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
|
||||
weekdays : 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'),
|
||||
weekdaysShort : 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
|
||||
weekdaysMin : 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
|
||||
weekdaysParseExact : true,
|
||||
longDateFormat : {
|
||||
LT : 'HH:mm',
|
||||
LTS : 'HH:mm:ss',
|
||||
L : 'DD.MM.YYYY',
|
||||
LL : 'D MMMM YYYY',
|
||||
LLL : 'D MMMM YYYY HH:mm',
|
||||
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
||||
},
|
||||
calendar : {
|
||||
sameDay : '[leo saa] LT',
|
||||
nextDay : '[kesho saa] LT',
|
||||
nextWeek : '[wiki ijayo] dddd [saat] LT',
|
||||
lastDay : '[jana] LT',
|
||||
lastWeek : '[wiki iliyopita] dddd [saat] LT',
|
||||
sameElse : 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : '%s baadaye',
|
||||
past : 'tokea %s',
|
||||
s : 'hivi punde',
|
||||
m : 'dakika moja',
|
||||
mm : 'dakika %d',
|
||||
h : 'saa limoja',
|
||||
hh : 'masaa %d',
|
||||
d : 'siku moja',
|
||||
dd : 'masiku %d',
|
||||
M : 'mwezi mmoja',
|
||||
MM : 'miezi %d',
|
||||
y : 'mwaka mmoja',
|
||||
yy : 'miaka %d'
|
||||
},
|
||||
week : {
|
||||
dow : 1, // Monday is the first day of the week.
|
||||
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
||||
}
|
||||
});
|
||||
var sw = moment.defineLocale('sw', {
|
||||
months : 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'),
|
||||
monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
|
||||
weekdays : 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'),
|
||||
weekdaysShort : 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
|
||||
weekdaysMin : 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
|
||||
weekdaysParseExact : true,
|
||||
longDateFormat : {
|
||||
LT : 'HH:mm',
|
||||
LTS : 'HH:mm:ss',
|
||||
L : 'DD.MM.YYYY',
|
||||
LL : 'D MMMM YYYY',
|
||||
LLL : 'D MMMM YYYY HH:mm',
|
||||
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
||||
},
|
||||
calendar : {
|
||||
sameDay : '[leo saa] LT',
|
||||
nextDay : '[kesho saa] LT',
|
||||
nextWeek : '[wiki ijayo] dddd [saat] LT',
|
||||
lastDay : '[jana] LT',
|
||||
lastWeek : '[wiki iliyopita] dddd [saat] LT',
|
||||
sameElse : 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : '%s baadaye',
|
||||
past : 'tokea %s',
|
||||
s : 'hivi punde',
|
||||
ss : 'sekunde %d',
|
||||
m : 'dakika moja',
|
||||
mm : 'dakika %d',
|
||||
h : 'saa limoja',
|
||||
hh : 'masaa %d',
|
||||
d : 'siku moja',
|
||||
dd : 'masiku %d',
|
||||
M : 'mwezi mmoja',
|
||||
MM : 'miezi %d',
|
||||
y : 'mwaka mmoja',
|
||||
yy : 'miaka %d'
|
||||
},
|
||||
week : {
|
||||
dow : 1, // Monday is the first day of the week.
|
||||
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
||||
}
|
||||
});
|
||||
|
||||
return sw;
|
||||
return sw;
|
||||
|
||||
})));
|
||||
|
Reference in New Issue
Block a user