UNPKG

1.65 kBJavaScriptView Raw
1//! moment.js locale configuration
2//! locale : Swahili [sw]
3//! author : Fahad Kassim : https://github.com/fadsel
4
5import moment from '../moment';
6
7export default moment.defineLocale('sw', {
8 months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split(
9 '_'
10 ),
11 monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
12 weekdays:
13 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split(
14 '_'
15 ),
16 weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
17 weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
18 weekdaysParseExact: true,
19 longDateFormat: {
20 LT: 'hh:mm A',
21 LTS: 'HH:mm:ss',
22 L: 'DD.MM.YYYY',
23 LL: 'D MMMM YYYY',
24 LLL: 'D MMMM YYYY HH:mm',
25 LLLL: 'dddd, D MMMM YYYY HH:mm',
26 },
27 calendar: {
28 sameDay: '[leo saa] LT',
29 nextDay: '[kesho saa] LT',
30 nextWeek: '[wiki ijayo] dddd [saat] LT',
31 lastDay: '[jana] LT',
32 lastWeek: '[wiki iliyopita] dddd [saat] LT',
33 sameElse: 'L',
34 },
35 relativeTime: {
36 future: '%s baadaye',
37 past: 'tokea %s',
38 s: 'hivi punde',
39 ss: 'sekunde %d',
40 m: 'dakika moja',
41 mm: 'dakika %d',
42 h: 'saa limoja',
43 hh: 'masaa %d',
44 d: 'siku moja',
45 dd: 'siku %d',
46 M: 'mwezi mmoja',
47 MM: 'miezi %d',
48 y: 'mwaka mmoja',
49 yy: 'miaka %d',
50 },
51 week: {
52 dow: 1, // Monday is the first day of the week.
53 doy: 7, // The week that contains Jan 7th is the first week of the year.
54 },
55});