1 //! moment.js locale configuration
2 //! locale : siSwati [ss]
3 //! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies
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) :
10 }(this, (function (moment) { 'use strict';
12 //! moment.js locale configuration
14 var ss = moment.defineLocale('ss', {
15 months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split(
18 monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
19 weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split(
22 weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
23 weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
24 weekdaysParseExact: true,
30 LLL: 'D MMMM YYYY h:mm A',
31 LLLL: 'dddd, D MMMM YYYY h:mm A',
34 sameDay: '[Namuhla nga] LT',
35 nextDay: '[Kusasa nga] LT',
36 nextWeek: 'dddd [nga] LT',
37 lastDay: '[Itolo nga] LT',
38 lastWeek: 'dddd [leliphelile] [nga] LT',
43 past: 'wenteka nga %s',
44 s: 'emizuzwana lomcane',
57 meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
58 meridiem: function (hours, minutes, isLower) {
61 } else if (hours < 15) {
63 } else if (hours < 19) {
69 meridiemHour: function (hour, meridiem) {
73 if (meridiem === 'ekuseni') {
75 } else if (meridiem === 'emini') {
76 return hour >= 11 ? hour : hour + 12;
77 } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {
84 dayOfMonthOrdinalParse: /\d{1,2}/,
87 dow: 1, // Monday is the first day of the week.
88 doy: 4, // The week that contains Jan 4th is the first week of the year.