1 // moment.js language configuration
2 // language : 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 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(window.moment); // Browser global
15 return moment.lang('id', {
16 months : "Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),
17 monthsShort : "Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),
18 weekdays : "Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),
19 weekdaysShort : "Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),
20 weekdaysMin : "Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),
25 LLL : "D MMMM YYYY [pukul] LT",
26 LLLL : "dddd, D MMMM YYYY [pukul] LT"
28 meridiem : function (hours, minutes, isLower) {
31 } else if (hours < 15) {
33 } else if (hours < 19) {
40 sameDay : '[Hari ini pukul] LT',
41 nextDay : '[Besok pukul] LT',
42 nextWeek : 'dddd [pukul] LT',
43 lastDay : '[Kemarin pukul] LT',
44 lastWeek : 'dddd [lalu pukul] LT',
49 past : "%s yang lalu",
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.