PHP Classes

File: upload/themes/bb_simple/assets/moment/src/locale/my.js

Recommend this page to a friend!
  Classes of James Brows   PHP Bulletin Board   upload/themes/bb_simple/assets/moment/src/locale/my.js   Download  
File: upload/themes/bb_simple/assets/moment/src/locale/my.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Bulletin Board
Manage and post messages in multi-user forums
Author: By
Last change:
Date: 2 years ago
Size: 2,948 bytes
 

Contents

Class file image Download
//! moment.js locale configuration //! locale : Burmese [my] //! author : Squar team, mysquar.com //! author : David Rossellat : https://github.com/gholadr //! author : Tin Aung Lin : https://github.com/thanyawzinmin import moment from '../moment'; var symbolMap = { '1': '?', '2': '?', '3': '?', '4': '?', '5': '?', '6': '?', '7': '?', '8': '?', '9': '?', '0': '?' }, numberMap = { '?': '1', '?': '2', '?': '3', '?': '4', '?': '5', '?': '6', '?': '7', '?': '8', '?': '9', '?': '0' }; export default moment.defineLocale('my', { months: '????????_??????????_???_????_??_????_???????_??????_????????_??????????_????????_???????'.split('_'), monthsShort: '???_??_???_???_??_????_?????_??_???_?????_???_??'.split('_'), weekdays: '?????????_???????_??????_????????_????????_??????_???'.split('_'), weekdaysShort: '???_??_??_???_???_???_??'.split('_'), weekdaysMin: '???_??_??_???_???_???_??'.split('_'), longDateFormat: { LT: 'HH:mm', LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', LLL: 'D MMMM YYYY HH:mm', LLLL: 'dddd D MMMM YYYY HH:mm' }, 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, function (match) { return numberMap[match]; }); }, postformat: function (string) { return string.replace(/\d/g, function (match) { return symbolMap[match]; }); }, week: { dow: 1, // Monday is the first day of the week. doy: 4 // The week that contains Jan 1st is the first week of the year. } });