Brought in another asset for Ray's eye form: moment
[openemr.git] / public / assets / moment-2-13-0 / src / locale / ss.js
blobfc1bcfb7bfdafdb6d376bc8b3facec32f981843c
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,
15     longDateFormat : {
16         LT : 'h:mm A',
17         LTS : 'h:mm:ss A',
18         L : 'DD/MM/YYYY',
19         LL : 'D MMMM YYYY',
20         LLL : 'D MMMM YYYY h:mm A',
21         LLLL : 'dddd, D MMMM YYYY h:mm A'
22     },
23     calendar : {
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',
29         sameElse : 'L'
30     },
31     relativeTime : {
32         future : 'nga %s',
33         past : 'wenteka nga %s',
34         s : 'emizuzwana lomcane',
35         m : 'umzuzu',
36         mm : '%d emizuzu',
37         h : 'lihora',
38         hh : '%d emahora',
39         d : 'lilanga',
40         dd : '%d emalanga',
41         M : 'inyanga',
42         MM : '%d tinyanga',
43         y : 'umnyaka',
44         yy : '%d iminyaka'
45     },
46     meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
47     meridiem : function (hours, minutes, isLower) {
48         if (hours < 11) {
49             return 'ekuseni';
50         } else if (hours < 15) {
51             return 'emini';
52         } else if (hours < 19) {
53             return 'entsambama';
54         } else {
55             return 'ebusuku';
56         }
57     },
58     meridiemHour : function (hour, meridiem) {
59         if (hour === 12) {
60             hour = 0;
61         }
62         if (meridiem === 'ekuseni') {
63             return hour;
64         } else if (meridiem === 'emini') {
65             return hour >= 11 ? hour : hour + 12;
66         } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {
67             if (hour === 0) {
68                 return 0;
69             }
70             return hour + 12;
71         }
72     },
73     ordinalParse: /\d{1,2}/,
74     ordinal : '%d',
75     week : {
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.
78     }
79 });