Brought in another asset for Ray's eye form: moment
[openemr.git] / public / assets / moment-2-13-0 / src / locale / my.js
blobd9dff819fceb437d1cc658e272678ad2b47dbd6f
1 //! moment.js locale configuration
2 //! locale : Burmese (my)
3 //! author : Squar team, mysquar.com
5 import moment from '../moment';
7 var symbolMap = {
8     '1': '၁',
9     '2': '၂',
10     '3': '၃',
11     '4': '၄',
12     '5': '၅',
13     '6': '၆',
14     '7': '၇',
15     '8': '၈',
16     '9': '၉',
17     '0': '၀'
18 }, numberMap = {
19     '၁': '1',
20     '၂': '2',
21     '၃': '3',
22     '၄': '4',
23     '၅': '5',
24     '၆': '6',
25     '၇': '7',
26     '၈': '8',
27     '၉': '9',
28     '၀': '0'
31 export default moment.defineLocale('my', {
32     months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'),
33     monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
34     weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'),
35     weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
36     weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
38     longDateFormat: {
39         LT: 'HH:mm',
40         LTS: 'HH:mm:ss',
41         L: 'DD/MM/YYYY',
42         LL: 'D MMMM YYYY',
43         LLL: 'D MMMM YYYY HH:mm',
44         LLLL: 'dddd D MMMM YYYY HH:mm'
45     },
46     calendar: {
47         sameDay: '[ယနေ.] LT [မှာ]',
48         nextDay: '[မနက်ဖြန်] LT [မှာ]',
49         nextWeek: 'dddd LT [မှာ]',
50         lastDay: '[မနေ.က] LT [မှာ]',
51         lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
52         sameElse: 'L'
53     },
54     relativeTime: {
55         future: 'လာမည့် %s မှာ',
56         past: 'လွန်ခဲ့သော %s က',
57         s: 'စက္ကန်.အနည်းငယ်',
58         m: 'တစ်မိနစ်',
59         mm: '%d မိနစ်',
60         h: 'တစ်နာရီ',
61         hh: '%d နာရီ',
62         d: 'တစ်ရက်',
63         dd: '%d ရက်',
64         M: 'တစ်လ',
65         MM: '%d လ',
66         y: 'တစ်နှစ်',
67         yy: '%d နှစ်'
68     },
69     preparse: function (string) {
70         return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
71             return numberMap[match];
72         });
73     },
74     postformat: function (string) {
75         return string.replace(/\d/g, function (match) {
76             return symbolMap[match];
77         });
78     },
79     week: {
80         dow: 1, // Monday is the first day of the week.
81         doy: 4 // The week that contains Jan 1st is the first week of the year.
82     }
83 });