root 2bb01ae691
All checks were successful
continuous-integration/drone/push Build is passing
🔁 Sync from production: settings and Docker updates
2025-05-15 06:30:43 +00:00

119 lines
4.3 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//! moment.js locale configuration
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
var symbolMap = {
'1': 'ā§§',
'2': '⧍',
'3': 'ā§Š',
'4': 'ā§Ē',
'5': 'ā§Ģ',
'6': 'ā§Ŧ',
'7': 'ā§­',
'8': 'ā§Ž',
'9': '⧝',
'0': 'ā§Ļ'
},
numberMap = {
'ā§§': '1',
'⧍': '2',
'ā§Š': '3',
'ā§Ē': '4',
'ā§Ģ': '5',
'ā§Ŧ': '6',
'ā§­': '7',
'ā§Ž': '8',
'⧝': '9',
'ā§Ļ': '0'
};
var bn = moment.defineLocale('bn', {
months : 'āϜāĻžāύ⧁⧟āĻžāϰ⧀_āĻĢ⧇āĻŦā§āϰ⧁⧟āĻžāϰāĻŋ_āĻŽāĻžāĻ°ā§āϚ_āĻāĻĒā§āϰāĻŋāϞ_āĻŽā§‡_āϜ⧁āύ_āϜ⧁āϞāĻžāχ_āφāĻ—āĻ¸ā§āϟ_āϏ⧇āĻĒā§āĻŸā§‡āĻŽā§āĻŦāϰ_āĻ…āĻ•ā§āĻŸā§‹āĻŦāϰ_āύāϭ⧇āĻŽā§āĻŦāϰ_āĻĄāĻŋāϏ⧇āĻŽā§āĻŦāϰ'.split('_'),
monthsShort : 'āϜāĻžāύ⧁_āĻĢ⧇āĻŦ_āĻŽāĻžāĻ°ā§āϚ_āĻāĻĒā§āϰ_āĻŽā§‡_āϜ⧁āύ_āϜ⧁āϞ_āφāĻ—_āϏ⧇āĻĒā§āϟ_āĻ…āĻ•ā§āĻŸā§‹_āύāϭ⧇_āĻĄāĻŋāϏ⧇'.split('_'),
weekdays : 'āϰāĻŦāĻŋāĻŦāĻžāϰ_āϏ⧋āĻŽāĻŦāĻžāϰ_āĻŽāĻ™ā§āĻ—āϞāĻŦāĻžāϰ_āĻŦ⧁āϧāĻŦāĻžāϰ_āĻŦ⧃āĻšāĻ¸ā§āĻĒāϤāĻŋāĻŦāĻžāϰ_āĻļ⧁āĻ•ā§āϰāĻŦāĻžāϰ_āĻļāύāĻŋāĻŦāĻžāϰ'.split('_'),
weekdaysShort : 'āϰāĻŦāĻŋ_āϏ⧋āĻŽ_āĻŽāĻ™ā§āĻ—āϞ_āĻŦ⧁āϧ_āĻŦ⧃āĻšāĻ¸ā§āĻĒāϤāĻŋ_āĻļ⧁āĻ•ā§āϰ_āĻļāύāĻŋ'.split('_'),
weekdaysMin : 'āϰāĻŦāĻŋ_āϏ⧋āĻŽ_āĻŽāĻ™ā§āĻ—_āĻŦ⧁āϧ_āĻŦ⧃āĻšāσ_āĻļ⧁āĻ•ā§āϰ_āĻļāύāĻŋ'.split('_'),
longDateFormat : {
LT : 'A h:mm āϏāĻŽā§Ÿ',
LTS : 'A h:mm:ss āϏāĻŽā§Ÿ',
L : 'DD/MM/YYYY',
LL : 'D MMMM YYYY',
LLL : 'D MMMM YYYY, A h:mm āϏāĻŽā§Ÿ',
LLLL : 'dddd, D MMMM YYYY, A h:mm āϏāĻŽā§Ÿ'
},
calendar : {
sameDay : '[āφāϜ] LT',
nextDay : '[āφāĻ—āĻžāĻŽā§€āĻ•āĻžāϞ] LT',
nextWeek : 'dddd, LT',
lastDay : '[āĻ—āϤāĻ•āĻžāϞ] LT',
lastWeek : '[āĻ—āϤ] dddd, LT',
sameElse : 'L'
},
relativeTime : {
future : '%s āĻĒāϰ⧇',
past : '%s āφāϗ⧇',
s : 'āĻ•ā§Ÿā§‡āĻ• āϏ⧇āϕ⧇āĻ¨ā§āĻĄ',
ss : '%d āϏ⧇āϕ⧇āĻ¨ā§āĻĄ',
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];
});
},
meridiemParse: /āϰāĻžāϤ|āϏāĻ•āĻžāϞ|āĻĻ⧁āĻĒ⧁āϰ|āĻŦāĻŋāĻ•āĻžāϞ|āϰāĻžāϤ/,
meridiemHour : function (hour, meridiem) {
if (hour === 12) {
hour = 0;
}
if ((meridiem === 'āϰāĻžāϤ' && hour >= 4) ||
(meridiem === 'āĻĻ⧁āĻĒ⧁āϰ' && hour < 5) ||
meridiem === 'āĻŦāĻŋāĻ•āĻžāϞ') {
return hour + 12;
} else {
return hour;
}
},
meridiem : function (hour, minute, isLower) {
if (hour < 4) {
return 'āϰāĻžāϤ';
} else if (hour < 10) {
return 'āϏāĻ•āĻžāϞ';
} else if (hour < 17) {
return 'āĻĻ⧁āĻĒ⧁āϰ';
} else if (hour < 20) {
return 'āĻŦāĻŋāĻ•āĻžāϞ';
} else {
return 'āϰāĻžāϤ';
}
},
week : {
dow : 0, // Sunday is the first day of the week.
doy : 6 // The week that contains Jan 6th is the first week of the year.
}
});
return bn;
})));