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