1 //! moment.js locale configuration
2 //! locale : siSwati (ss)
3 //! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies
6 import moment from '../moment';
8 export default moment.defineLocale('ss', {
9 months : "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'),
10 monthsShort : 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
11 weekdays : 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'),
12 weekdaysShort : 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
13 weekdaysMin : 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
14 weekdaysParseExact : true,
20 LLL : 'D MMMM YYYY h:mm A',
21 LLLL : 'dddd, D MMMM YYYY h:mm A'
24 sameDay : '[Namuhla nga] LT',
25 nextDay : '[Kusasa nga] LT',
26 nextWeek : 'dddd [nga] LT',
27 lastDay : '[Itolo nga] LT',
28 lastWeek : 'dddd [leliphelile] [nga] LT',
33 past : 'wenteka nga %s',
34 s : 'emizuzwana lomcane',
46 meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
47 meridiem : function (hours, minutes, isLower) {
50 } else if (hours < 15) {
52 } else if (hours < 19) {
58 meridiemHour : function (hour, meridiem) {
62 if (meridiem === 'ekuseni') {
64 } else if (meridiem === 'emini') {
65 return hour >= 11 ? hour : hour + 12;
66 } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {
73 ordinalParse: /\d{1,2}/,
76 dow : 1, // Monday is the first day of the week.
77 doy : 4 // The week that contains Jan 4th is the first week of the year.