Merge "Use the request object provided in User::setCookies"
[lhc/web/wiklou.git] / resources / lib / moment / locale / ms-my.js
1 // moment.js locale configuration
2 // locale : Bahasa Malaysia (ms-MY)
3 // author : Weldan Jamili : https://github.com/weldan
4
5 (function (factory) {
6 if (typeof define === 'function' && define.amd) {
7 define(['moment'], factory); // AMD
8 } else if (typeof exports === 'object') {
9 module.exports = factory(require('../moment')); // Node
10 } else {
11 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
12 }
13 }(function (moment) {
14 return moment.defineLocale('ms-my', {
15 months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
16 monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
17 weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
18 weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
19 weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
20 longDateFormat : {
21 LT : 'HH.mm',
22 LTS : 'LT.ss',
23 L : 'DD/MM/YYYY',
24 LL : 'D MMMM YYYY',
25 LLL : 'D MMMM YYYY [pukul] LT',
26 LLLL : 'dddd, D MMMM YYYY [pukul] LT'
27 },
28 meridiem : function (hours, minutes, isLower) {
29 if (hours < 11) {
30 return 'pagi';
31 } else if (hours < 15) {
32 return 'tengahari';
33 } else if (hours < 19) {
34 return 'petang';
35 } else {
36 return 'malam';
37 }
38 },
39 calendar : {
40 sameDay : '[Hari ini pukul] LT',
41 nextDay : '[Esok pukul] LT',
42 nextWeek : 'dddd [pukul] LT',
43 lastDay : '[Kelmarin pukul] LT',
44 lastWeek : 'dddd [lepas pukul] LT',
45 sameElse : 'L'
46 },
47 relativeTime : {
48 future : 'dalam %s',
49 past : '%s yang lepas',
50 s : 'beberapa saat',
51 m : 'seminit',
52 mm : '%d minit',
53 h : 'sejam',
54 hh : '%d jam',
55 d : 'sehari',
56 dd : '%d hari',
57 M : 'sebulan',
58 MM : '%d bulan',
59 y : 'setahun',
60 yy : '%d tahun'
61 },
62 week : {
63 dow : 1, // Monday is the first day of the week.
64 doy : 7 // The week that contains Jan 1st is the first week of the year.
65 }
66 });
67 }));