Merge "Improve docs for Title::getInternalURL/getCanonicalURL"
[lhc/web/wiklou.git] / resources / lib / moment / locale / ms.js
1 //! moment.js locale configuration
2
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) :
7 factory(global.moment)
8 }(this, (function (moment) { 'use strict';
9
10
11 var ms = moment.defineLocale('ms', {
12 months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
13 monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
14 weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
15 weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
16 weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
17 longDateFormat : {
18 LT : 'HH.mm',
19 LTS : 'HH.mm.ss',
20 L : 'DD/MM/YYYY',
21 LL : 'D MMMM YYYY',
22 LLL : 'D MMMM YYYY [pukul] HH.mm',
23 LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
24 },
25 meridiemParse: /pagi|tengahari|petang|malam/,
26 meridiemHour: function (hour, meridiem) {
27 if (hour === 12) {
28 hour = 0;
29 }
30 if (meridiem === 'pagi') {
31 return hour;
32 } else if (meridiem === 'tengahari') {
33 return hour >= 11 ? hour : hour + 12;
34 } else if (meridiem === 'petang' || meridiem === 'malam') {
35 return hour + 12;
36 }
37 },
38 meridiem : function (hours, minutes, isLower) {
39 if (hours < 11) {
40 return 'pagi';
41 } else if (hours < 15) {
42 return 'tengahari';
43 } else if (hours < 19) {
44 return 'petang';
45 } else {
46 return 'malam';
47 }
48 },
49 calendar : {
50 sameDay : '[Hari ini pukul] LT',
51 nextDay : '[Esok pukul] LT',
52 nextWeek : 'dddd [pukul] LT',
53 lastDay : '[Kelmarin pukul] LT',
54 lastWeek : 'dddd [lepas pukul] LT',
55 sameElse : 'L'
56 },
57 relativeTime : {
58 future : 'dalam %s',
59 past : '%s yang lepas',
60 s : 'beberapa saat',
61 ss : '%d saat',
62 m : 'seminit',
63 mm : '%d minit',
64 h : 'sejam',
65 hh : '%d jam',
66 d : 'sehari',
67 dd : '%d hari',
68 M : 'sebulan',
69 MM : '%d bulan',
70 y : 'setahun',
71 yy : '%d tahun'
72 },
73 week : {
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.
76 }
77 });
78
79 return ms;
80
81 })));