Brought in another asset for Ray's eye form: moment
[openemr.git] / public / assets / moment-2-13-0 / src / locale / ms-my.js
blob1490a1ff88bbf6a8ccbdbad0d767475ea58926ee
1 //! moment.js locale configuration
2 //! locale : Bahasa Malaysia (ms-MY)
3 //! author : Weldan Jamili : https://github.com/weldan
5 import moment from '../moment';
7 export default moment.defineLocale('ms-my', {
8     months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
9     monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
10     weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
11     weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
12     weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
13     longDateFormat : {
14         LT : 'HH.mm',
15         LTS : 'HH.mm.ss',
16         L : 'DD/MM/YYYY',
17         LL : 'D MMMM YYYY',
18         LLL : 'D MMMM YYYY [pukul] HH.mm',
19         LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
20     },
21     meridiemParse: /pagi|tengahari|petang|malam/,
22     meridiemHour: function (hour, meridiem) {
23         if (hour === 12) {
24             hour = 0;
25         }
26         if (meridiem === 'pagi') {
27             return hour;
28         } else if (meridiem === 'tengahari') {
29             return hour >= 11 ? hour : hour + 12;
30         } else if (meridiem === 'petang' || meridiem === 'malam') {
31             return hour + 12;
32         }
33     },
34     meridiem : function (hours, minutes, isLower) {
35         if (hours < 11) {
36             return 'pagi';
37         } else if (hours < 15) {
38             return 'tengahari';
39         } else if (hours < 19) {
40             return 'petang';
41         } else {
42             return 'malam';
43         }
44     },
45     calendar : {
46         sameDay : '[Hari ini pukul] LT',
47         nextDay : '[Esok pukul] LT',
48         nextWeek : 'dddd [pukul] LT',
49         lastDay : '[Kelmarin pukul] LT',
50         lastWeek : 'dddd [lepas pukul] LT',
51         sameElse : 'L'
52     },
53     relativeTime : {
54         future : 'dalam %s',
55         past : '%s yang lepas',
56         s : 'beberapa saat',
57         m : 'seminit',
58         mm : '%d minit',
59         h : 'sejam',
60         hh : '%d jam',
61         d : 'sehari',
62         dd : '%d hari',
63         M : 'sebulan',
64         MM : '%d bulan',
65         y : 'setahun',
66         yy : '%d tahun'
67     },
68     week : {
69         dow : 1, // Monday is the first day of the week.
70         doy : 7  // The week that contains Jan 1st is the first week of the year.
71     }
72 });