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';
37 var dv
= moment
.defineLocale('dv', {
41 weekdaysShort
: weekdays
,
42 weekdaysMin
: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
49 LLL
: 'D MMMM YYYY HH:mm',
50 LLLL
: 'dddd D MMMM YYYY HH:mm'
52 meridiemParse
: /މކ|މފ/,
53 isPM : function (input
) {
54 return 'މފ' === input
;
56 meridiem : function (hour
, minute
, isLower
) {
64 sameDay
: '[މިއަދު] LT',
65 nextDay
: '[މާދަމާ] LT',
67 lastDay
: '[އިއްޔެ] LT',
68 lastWeek
: '[ފާއިތުވި] dddd LT',
72 future
: 'ތެރޭގައި %s',
86 preparse: function (string
) {
87 return string
.replace(/،/g, ',');
89 postformat: function (string
) {
90 return string
.replace(/,/g
, '،');
93 dow
: 7, // Sunday is the first day of the week.
94 doy
: 12 // The week that contains Jan 1st is the first week of the year.