This commit is contained in:
2025-11-11 00:04:55 -06:00
parent a76ad41fde
commit 40538eddfd
6405 changed files with 1289756 additions and 0 deletions

46
node_modules/date-and-time/locale/my.js generated vendored Normal file
View File

@ -0,0 +1,46 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, (global.date = global.date || {}, global.date.locale = global.date.locale || {}, global.date.locale.my = factory()));
})(this, (function () { 'use strict';
/**
* @preserve date-and-time.js locale configuration
* @preserve Burmese (my)
* @preserve It is using moment.js locale configuration as a reference.
*/
var my = function (date) {
var code = 'my';
date.locale(code, {
res: {
MMMM: ['ဇန်နဝါရီ', 'ဖေဖော်ဝါရီ', 'မတ်', 'ဧပြီ', 'မေ', 'ဇွန်', 'ဇူလိုင်', 'သြဂုတ်', 'စက်တင်ဘာ', 'အောက်တိုဘာ', 'နိုဝင်ဘာ', 'ဒီဇင်ဘာ'],
MMM: ['ဇန်', 'ဖေ', 'မတ်', 'ပြီ', 'မေ', 'ဇွန်', 'လိုင်', 'သြ', 'စက်', 'အောက်', 'နို', 'ဒီ'],
dddd: ['တနင်္ဂနွေ', 'တနင်္လာ', 'အင်္ဂါ', 'ဗုဒ္ဓဟူး', 'ကြာသပတေး', 'သောကြာ', 'စနေ'],
ddd: ['နွေ', 'လာ', 'ဂါ', 'ဟူး', 'ကြာ', 'သော', 'နေ'],
dd: ['နွေ', 'လာ', 'ဂါ', 'ဟူး', 'ကြာ', 'သော', 'နေ']
},
formatter: {
post: function (str) {
var num = ['', '၁', '၂', '၃', '၄', '၅', '၆', '၇', '၈', '၉'];
return str.replace(/\d/g, function (i) {
return num[i | 0];
});
}
},
parser: {
pre: function (str) {
var map = { '': 0, '၁': 1, '၂': 2, '၃': 3, '၄': 4, '၅': 5, '၆': 6, '၇': 7, '၈': 8, '၉': 9 };
return str.replace(/[၀၁၂၃၄၅၆၇၈၉]/g, function (i) {
return '' + map[i];
});
}
}
});
return code;
};
return my;
}));