LaravelTest
94 строки · 3.1 Кб
1//! moment.js locale configuration
2//! locale : siSwati [ss]
3//! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies
4
5;(function (global, factory) {6typeof exports === 'object' && typeof module !== 'undefined'7&& typeof require === 'function' ? factory(require('../moment')) :8typeof define === 'function' && define.amd ? define(['../moment'], factory) :9factory(global.moment)10}(this, (function (moment) { 'use strict';11
12//! moment.js locale configuration13
14var ss = moment.defineLocale('ss', {15months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split(16'_'17),18monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),19weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split(20'_'21),22weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),23weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),24weekdaysParseExact: true,25longDateFormat: {26LT: 'h:mm A',27LTS: 'h:mm:ss A',28L: 'DD/MM/YYYY',29LL: 'D MMMM YYYY',30LLL: 'D MMMM YYYY h:mm A',31LLLL: 'dddd, D MMMM YYYY h:mm A',32},33calendar: {34sameDay: '[Namuhla nga] LT',35nextDay: '[Kusasa nga] LT',36nextWeek: 'dddd [nga] LT',37lastDay: '[Itolo nga] LT',38lastWeek: 'dddd [leliphelile] [nga] LT',39sameElse: 'L',40},41relativeTime: {42future: 'nga %s',43past: 'wenteka nga %s',44s: 'emizuzwana lomcane',45ss: '%d mzuzwana',46m: 'umzuzu',47mm: '%d emizuzu',48h: 'lihora',49hh: '%d emahora',50d: 'lilanga',51dd: '%d emalanga',52M: 'inyanga',53MM: '%d tinyanga',54y: 'umnyaka',55yy: '%d iminyaka',56},57meridiemParse: /ekuseni|emini|entsambama|ebusuku/,58meridiem: function (hours, minutes, isLower) {59if (hours < 11) {60return 'ekuseni';61} else if (hours < 15) {62return 'emini';63} else if (hours < 19) {64return 'entsambama';65} else {66return 'ebusuku';67}68},69meridiemHour: function (hour, meridiem) {70if (hour === 12) {71hour = 0;72}73if (meridiem === 'ekuseni') {74return hour;75} else if (meridiem === 'emini') {76return hour >= 11 ? hour : hour + 12;77} else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {78if (hour === 0) {79return 0;80}81return hour + 12;82}83},84dayOfMonthOrdinalParse: /\d{1,2}/,85ordinal: '%d',86week: {87dow: 1, // Monday is the first day of the week.88doy: 4, // The week that contains Jan 4th is the first week of the year.89},90});91
92return ss;93
94})));95