GPQAPP
1//! moment.js locale configuration
2//! locale : Maldivian [dv]
3//! author : Jawish Hameed : https://github.com/jawish
4
5;(function (global, factory) {6typeof exports === 'object' && typeof module !== 'undefined'7&& typeof require === 'function' ? factory(require('../moment')) :8typeof define === 'function' && define.amd ? define(['../moment'], factory) :9factory(global.moment)10}(this, (function (moment) { 'use strict';11
12//! moment.js locale configuration13
14var months = [15'ޖެނުއަރީ',16'ފެބްރުއަރީ',17'މާރިޗު',18'އޭޕްރީލު',19'މޭ',20'ޖޫން',21'ޖުލައި',22'އޯގަސްޓު',23'ސެޕްޓެމްބަރު',24'އޮކްޓޯބަރު',25'ނޮވެމްބަރު',26'ޑިސެމްބަރު',27],28weekdays = [29'އާދިއްތަ',30'ހޯމަ',31'އަންގާރަ',32'ބުދަ',33'ބުރާސްފަތި',34'ހުކުރު',35'ހޮނިހިރު',36];37
38var dv = moment.defineLocale('dv', {39months: months,40monthsShort: months,41weekdays: weekdays,42weekdaysShort: weekdays,43weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),44longDateFormat: {45LT: 'HH:mm',46LTS: 'HH:mm:ss',47L: 'D/M/YYYY',48LL: 'D MMMM YYYY',49LLL: 'D MMMM YYYY HH:mm',50LLLL: 'dddd D MMMM YYYY HH:mm',51},52meridiemParse: /މކ|މފ/,53isPM: function (input) {54return 'މފ' === input;55},56meridiem: function (hour, minute, isLower) {57if (hour < 12) {58return 'މކ';59} else {60return 'މފ';61}62},63calendar: {64sameDay: '[މިއަދު] LT',65nextDay: '[މާދަމާ] LT',66nextWeek: 'dddd LT',67lastDay: '[އިއްޔެ] LT',68lastWeek: '[ފާއިތުވި] dddd LT',69sameElse: 'L',70},71relativeTime: {72future: 'ތެރޭގައި %s',73past: 'ކުރިން %s',74s: 'ސިކުންތުކޮޅެއް',75ss: 'd% ސިކުންތު',76m: 'މިނިޓެއް',77mm: 'މިނިޓު %d',78h: 'ގަޑިއިރެއް',79hh: 'ގަޑިއިރު %d',80d: 'ދުވަހެއް',81dd: 'ދުވަސް %d',82M: 'މަހެއް',83MM: 'މަސް %d',84y: 'އަހަރެއް',85yy: 'އަހަރު %d',86},87preparse: function (string) {88return string.replace(/،/g, ',');89},90postformat: function (string) {91return string.replace(/,/g, '،');92},93week: {94dow: 7, // Sunday is the first day of the week.95doy: 12, // The week that contains Jan 12th is the first week of the year.96},97});98
99return dv;100
101})));102