1 // moment.js language configuration
2 // language : Bahasa Malaysia (ms-MY)
3 // author : Weldan Jamili : https://github.com/weldan
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
11 factory(window.moment); // Browser global
14 return moment.lang('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("_"),
24 LLL : "D MMMM YYYY [pukul] LT",
25 LLLL : "dddd, D MMMM YYYY [pukul] LT"
27 meridiem : function (hours, minutes, isLower) {
30 } else if (hours < 15) {
32 } else if (hours < 19) {
39 sameDay : '[Hari ini pukul] LT',
40 nextDay : '[Esok pukul] LT',
41 nextWeek : 'dddd [pukul] LT',
42 lastDay : '[Kelmarin pukul] LT',
43 lastWeek : 'dddd [lepas pukul] LT',
48 past : "%s yang lepas",
62 dow : 1, // Monday is the first day of the week.
63 doy : 7 // The week that contains Jan 1st is the first week of the year.