1 // moment.js locale configuration
2 // locale : Bahasa Indonesia (id)
3 // author : Mohammad Satrio Utomo : https://github.com/tyok
4 // reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan
7 // Comment out broken wrapper, see T145382
8 /*if (typeof define === 'function' && define.amd) {
9 define(['moment'], factory); // AMD
10 } else if (typeof exports === 'object') {
11 module.exports = factory(require('../moment')); // Node
13 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
17 return moment.defineLocale('id', {
18 months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'),
19 monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des'.split('_'),
20 weekdays : 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
21 weekdaysShort : 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
22 weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
28 LLL : 'D MMMM YYYY [pukul] LT',
29 LLLL : 'dddd, D MMMM YYYY [pukul] LT'
31 meridiem : function (hours, minutes, isLower) {
34 } else if (hours < 15) {
36 } else if (hours < 19) {
43 sameDay : '[Hari ini pukul] LT',
44 nextDay : '[Besok pukul] LT',
45 nextWeek : 'dddd [pukul] LT',
46 lastDay : '[Kemarin pukul] LT',
47 lastWeek : 'dddd [lalu pukul] LT',
52 past : '%s yang lalu',
66 dow : 1, // Monday is the first day of the week.
67 doy : 7 // The week that contains Jan 1st is the first week of the year.