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';
14 var ss = moment.defineLocale('ss', {
15 months : "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'),
16 monthsShort : 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
17 weekdays : 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'),
18 weekdaysShort : 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
19 weekdaysMin : 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
20 weekdaysParseExact : true,
26 LLL : 'D MMMM YYYY h:mm A',
27 LLLL : 'dddd, D MMMM YYYY h:mm A'
30 sameDay : '[Namuhla nga] LT',
31 nextDay : '[Kusasa nga] LT',
32 nextWeek : 'dddd [nga] LT',
33 lastDay : '[Itolo nga] LT',
34 lastWeek : 'dddd [leliphelile] [nga] LT',
39 past : 'wenteka nga %s',
40 s : 'emizuzwana lomcane',
52 meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
53 meridiem : function (hours, minutes, isLower) {
56 } else if (hours < 15) {
58 } else if (hours < 19) {
64 meridiemHour : function (hour, meridiem) {
68 if (meridiem === 'ekuseni') {
70 } else if (meridiem === 'emini') {
71 return hour >= 11 ? hour : hour + 12;
72 } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {
79 dayOfMonthOrdinalParse: /\d{1,2}/,
82 dow : 1, // Monday is the first day of the week.
83 doy : 4 // The week that contains Jan 4th is the first week of the year.