2016-02-06 04:42:48 +08:00
|
|
|
//! moment.js locale configuration
|
2020-11-11 09:34:26 +08:00
|
|
|
//! locale : Swahili [sw]
|
|
|
|
//! author : Fahad Kassim : https://github.com/fadsel
|
2016-02-06 04:42:48 +08:00
|
|
|
|
|
|
|
;(function (global, factory) {
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
2017-04-20 12:24:20 +08:00
|
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
2016-02-06 04:42:48 +08:00
|
|
|
factory(global.moment)
|
2017-04-20 12:24:20 +08:00
|
|
|
}(this, (function (moment) { 'use strict';
|
2016-02-06 04:42:48 +08:00
|
|
|
|
2020-11-11 09:34:26 +08:00
|
|
|
//! moment.js locale configuration
|
2016-02-06 04:42:48 +08:00
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
var sw = moment.defineLocale('sw', {
|
2020-11-11 09:34:26 +08:00
|
|
|
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 A',
|
|
|
|
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',
|
2018-04-26 15:15:53 +08:00
|
|
|
},
|
2020-11-11 09:34:26 +08:00
|
|
|
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',
|
2018-04-26 15:15:53 +08:00
|
|
|
},
|
2020-11-11 09:34:26 +08:00
|
|
|
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: 'siku %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 7th is the first week of the year.
|
2018-04-26 15:15:53 +08:00
|
|
|
},
|
|
|
|
});
|
2016-02-06 04:42:48 +08:00
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
return sw;
|
2016-02-06 04:42:48 +08:00
|
|
|
|
2017-04-20 12:24:20 +08:00
|
|
|
})));
|