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