1 //! moment.js locale configuration
3 ;(function (global
, factory
) {
4 typeof exports
=== 'object' && typeof module
!== 'undefined'
5 && typeof require
=== 'function' ? factory(require('../moment')) :
6 typeof define
=== 'function' && define
.amd
? define(['../moment'], factory
) :
8 }(this, (function (moment
) { 'use strict';
11 var id
= moment
.defineLocale('id', {
12 months
: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'),
13 monthsShort
: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),
14 weekdays
: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
15 weekdaysShort
: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
16 weekdaysMin
: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
22 LLL
: 'D MMMM YYYY [pukul] HH.mm',
23 LLLL
: 'dddd, D MMMM YYYY [pukul] HH.mm'
25 meridiemParse
: /pagi|siang|sore|malam/,
26 meridiemHour : function (hour
, meridiem
) {
30 if (meridiem
=== 'pagi') {
32 } else if (meridiem
=== 'siang') {
33 return hour
>= 11 ? hour
: hour
+ 12;
34 } else if (meridiem
=== 'sore' || meridiem
=== 'malam') {
38 meridiem : function (hours
, minutes
, isLower
) {
41 } else if (hours
< 15) {
43 } else if (hours
< 19) {
50 sameDay
: '[Hari ini pukul] LT',
51 nextDay
: '[Besok pukul] LT',
52 nextWeek
: 'dddd [pukul] LT',
53 lastDay
: '[Kemarin pukul] LT',
54 lastWeek
: 'dddd [lalu pukul] LT',
59 past
: '%s yang lalu',
74 dow
: 1, // Monday is the first day of the week.
75 doy
: 7 // The week that contains Jan 7th is the first week of the year.