Merge "Improve docs for Title::getInternalURL/getCanonicalURL"
[lhc/web/wiklou.git] / resources / lib / moment / locale / dv.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 months = [
12 'ޖެނުއަރީ',
13 'ފެބްރުއަރީ',
14 'މާރިޗު',
15 'އޭޕްރީލު',
16 'މޭ',
17 'ޖޫން',
18 'ޖުލައި',
19 'އޯގަސްޓު',
20 'ސެޕްޓެމްބަރު',
21 'އޮކްޓޯބަރު',
22 'ނޮވެމްބަރު',
23 'ޑިސެމްބަރު'
24 ], weekdays = [
25 'އާދިއްތަ',
26 'ހޯމަ',
27 'އަންގާރަ',
28 'ބުދަ',
29 'ބުރާސްފަތި',
30 'ހުކުރު',
31 'ހޮނިހިރު'
32 ];
33
34 var dv = moment.defineLocale('dv', {
35 months : months,
36 monthsShort : months,
37 weekdays : weekdays,
38 weekdaysShort : weekdays,
39 weekdaysMin : 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
40 longDateFormat : {
41
42 LT : 'HH:mm',
43 LTS : 'HH:mm:ss',
44 L : 'D/M/YYYY',
45 LL : 'D MMMM YYYY',
46 LLL : 'D MMMM YYYY HH:mm',
47 LLLL : 'dddd D MMMM YYYY HH:mm'
48 },
49 meridiemParse: /މކ|މފ/,
50 isPM : function (input) {
51 return 'މފ' === input;
52 },
53 meridiem : function (hour, minute, isLower) {
54 if (hour < 12) {
55 return 'މކ';
56 } else {
57 return 'މފ';
58 }
59 },
60 calendar : {
61 sameDay : '[މިއަދު] LT',
62 nextDay : '[މާދަމާ] LT',
63 nextWeek : 'dddd LT',
64 lastDay : '[އިއްޔެ] LT',
65 lastWeek : '[ފާއިތުވި] dddd LT',
66 sameElse : 'L'
67 },
68 relativeTime : {
69 future : 'ތެރޭގައި %s',
70 past : 'ކުރިން %s',
71 s : 'ސިކުންތުކޮޅެއް',
72 ss : 'd% ސިކުންތު',
73 m : 'މިނިޓެއް',
74 mm : 'މިނިޓު %d',
75 h : 'ގަޑިއިރެއް',
76 hh : 'ގަޑިއިރު %d',
77 d : 'ދުވަހެއް',
78 dd : 'ދުވަސް %d',
79 M : 'މަހެއް',
80 MM : 'މަސް %d',
81 y : 'އަހަރެއް',
82 yy : 'އަހަރު %d'
83 },
84 preparse: function (string) {
85 return string.replace(/،/g, ',');
86 },
87 postformat: function (string) {
88 return string.replace(/,/g, '،');
89 },
90 week : {
91 dow : 7, // Sunday is the first day of the week.
92 doy : 12 // The week that contains Jan 12th is the first week of the year.
93 }
94 });
95
96 return dv;
97
98 })));