1 //! moment.js locale configuration
2 //! locale : Maldivian [dv]
3 //! author : Jawish Hameed : https://github.com/jawish
5 ;(function (global
, factory
) {
6 typeof exports
=== 'object' && typeof module
!== 'undefined'
7 && typeof require
=== 'function' ? factory(require('../moment')) :
8 typeof define
=== 'function' && define
.amd
? define(['../moment'], factory
) :
10 }(this, function (moment
) { 'use strict';
36 var dv
= moment
.defineLocale('dv', {
40 weekdaysShort
: weekdays
,
41 weekdaysMin
: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
48 LLL
: 'D MMMM YYYY HH:mm',
49 LLLL
: 'dddd D MMMM YYYY HH:mm'
51 meridiemParse
: /މކ|މފ/,
52 isPM : function (input
) {
53 return 'މފ' === input
;
55 meridiem : function (hour
, minute
, isLower
) {
63 sameDay
: '[މިއަދު] LT',
64 nextDay
: '[މާދަމާ] LT',
66 lastDay
: '[އިއްޔެ] LT',
67 lastWeek
: '[ފާއިތުވި] dddd LT',
71 future
: 'ތެރޭގައި %s',
85 preparse: function (string
) {
86 return string
.replace(/،/g, ',');
88 postformat: function (string
) {
89 return string
.replace(/,/g
, '،');
92 dow
: 7, // Sunday is the first day of the week.
93 doy
: 12 // The week that contains Jan 1st is the first week of the year.