1 // moment.js locale configuration
2 // locale : Bahasa Malaysia (ms-MY)
3 // author : Weldan Jamili : https://github.com/weldan
6 // Comment out broken wrapper, see T145382
7 /*if (typeof define === 'function' && define.amd) {
8 define(['moment'], factory); // AMD
9 } else if (typeof exports === 'object') {
10 module.exports = factory(require('../moment')); // Node
12 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
16 return moment.defineLocale('ms-my', {
17 months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
18 monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
19 weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
20 weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
21 weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
27 LLL : 'D MMMM YYYY [pukul] LT',
28 LLLL : 'dddd, D MMMM YYYY [pukul] LT'
30 meridiem : function (hours, minutes, isLower) {
33 } else if (hours < 15) {
35 } else if (hours < 19) {
42 sameDay : '[Hari ini pukul] LT',
43 nextDay : '[Esok pukul] LT',
44 nextWeek : 'dddd [pukul] LT',
45 lastDay : '[Kelmarin pukul] LT',
46 lastWeek : 'dddd [lepas pukul] LT',
51 past : '%s yang lepas',
65 dow : 1, // Monday is the first day of the week.
66 doy : 7 // The week that contains Jan 1st is the first week of the year.