PHP Classes

File: CoffeeCMS/contents/themes/cfnews/cfnews-html/assets/moment/src/locale/dv.js

Recommend this page to a friend!
  Classes of James Brows   Coffee CMS   CoffeeCMS/contents/themes/cfnews/cfnews-html/assets/moment/src/locale/dv.js   Download  
File: CoffeeCMS/contents/themes/cfnews/cfnews-html/assets/moment/src/locale/dv.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Coffee CMS
Content management system using MVC based themes
Author: By
Last change:
Date: 2 years ago
Size: 2,374 bytes
 

Contents

Class file image Download
//! moment.js locale configuration //! locale : Maldivian [dv] //! author : Jawish Hameed : https://github.com/jawish import moment from '../moment'; var months = [ '????????', '??????????', '??????', '????????', '??', '????', '??????', '????????', '????????????', '??????????', '??????????', '??????????' ], weekdays = [ '????????', '????', '????????', '????', '??????????', '??????', '????????' ]; export default moment.defineLocale('dv', { months : months, monthsShort : months, weekdays : weekdays, weekdaysShort : weekdays, weekdaysMin : '????_????_????_????_????_????_????'.split('_'), longDateFormat : { LT : 'HH:mm', LTS : 'HH:mm:ss', L : 'D/M/YYYY', LL : 'D MMMM YYYY', LLL : 'D MMMM YYYY HH:mm', LLLL : 'dddd D MMMM YYYY HH:mm' }, meridiemParse: /??|??/, isPM : function (input) { return '??' === input; }, meridiem : function (hour, minute, isLower) { if (hour < 12) { return '??'; } else { return '??'; } }, calendar : { sameDay : '[??????] LT', nextDay : '[??????] LT', nextWeek : 'dddd LT', lastDay : '[??????] LT', lastWeek : '[????????] dddd LT', sameElse : 'L' }, relativeTime : { future : '???????? %s', past : '?????? %s', s : '??????????????', m : '????????', mm : '?????? %d', h : '??????????', hh : '???????? %d', d : '????????', dd : '?????? %d', M : '??????', MM : '???? %d', y : '????????', yy : '?????? %d' }, preparse: function (string) { return string.replace(/?/g, ','); }, postformat: function (string) { return string.replace(/,/g, '?'); }, week : { dow : 7, // Sunday is the first day of the week. doy : 12 // The week that contains Jan 1st is the first week of the year. } });