[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 //! moment.js locale configuration 2 //! locale : Maldivian [dv] 3 //! author : Jawish Hameed : https://github.com/jawish 4 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) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var months = [ 14 'ޖެނުއަރީ', 15 'ފެބްރުއަރީ', 16 'މާރިޗު', 17 'އޭޕްރީލު', 18 'މޭ', 19 'ޖޫން', 20 'ޖުލައި', 21 'އޯގަސްޓު', 22 'ސެޕްޓެމްބަރު', 23 'އޮކްޓޯބަރު', 24 'ނޮވެމްބަރު', 25 'ޑިސެމްބަރު' 26 ], weekdays = [ 27 'އާދިއްތަ', 28 'ހޯމަ', 29 'އަންގާރަ', 30 'ބުދަ', 31 'ބުރާސްފަތި', 32 'ހުކުރު', 33 'ހޮނިހިރު' 34 ]; 35 36 var dv = moment.defineLocale('dv', { 37 months : months, 38 monthsShort : months, 39 weekdays : weekdays, 40 weekdaysShort : weekdays, 41 weekdaysMin : 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'), 42 longDateFormat : { 43 44 LT : 'HH:mm', 45 LTS : 'HH:mm:ss', 46 L : 'D/M/YYYY', 47 LL : 'D MMMM YYYY', 48 LLL : 'D MMMM YYYY HH:mm', 49 LLLL : 'dddd D MMMM YYYY HH:mm' 50 }, 51 meridiemParse: /މކ|މފ/, 52 isPM : function (input) { 53 return 'މފ' === input; 54 }, 55 meridiem : function (hour, minute, isLower) { 56 if (hour < 12) { 57 return 'މކ'; 58 } else { 59 return 'މފ'; 60 } 61 }, 62 calendar : { 63 sameDay : '[މިއަދު] LT', 64 nextDay : '[މާދަމާ] LT', 65 nextWeek : 'dddd LT', 66 lastDay : '[އިއްޔެ] LT', 67 lastWeek : '[ފާއިތުވި] dddd LT', 68 sameElse : 'L' 69 }, 70 relativeTime : { 71 future : 'ތެރޭގައި %s', 72 past : 'ކުރިން %s', 73 s : 'ސިކުންތުކޮޅެއް', 74 m : 'މިނިޓެއް', 75 mm : 'މިނިޓު %d', 76 h : 'ގަޑިއިރެއް', 77 hh : 'ގަޑިއިރު %d', 78 d : 'ދުވަހެއް', 79 dd : 'ދުވަސް %d', 80 M : 'މަހެއް', 81 MM : 'މަސް %d', 82 y : 'އަހަރެއް', 83 yy : 'އަހަރު %d' 84 }, 85 preparse: function (string) { 86 return string.replace(/،/g, ','); 87 }, 88 postformat: function (string) { 89 return string.replace(/,/g, '،'); 90 }, 91 week : { 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. 94 } 95 }); 96 97 return dv; 98 99 }));
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 24 01:01:27 2023 | Cross-referenced by PHPXref 0.7.1 |