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';
12 //! moment.js locale configuration
38 var dv = moment.defineLocale('dv', {
42 weekdaysShort: weekdays,
43 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',
87 preparse: function (string) {
88 return string.replace(/،/g, ',');
90 postformat: function (string) {
91 return string.replace(/,/g, '،');
94 dow: 7, // Sunday is the first day of the week.
95 doy: 12, // The week that contains Jan 12th is the first week of the year.