Files
Chamilo/app/Resources/public/assets/moment/locale/bn-bd.js
T
Xes 73154ae174
Behat tests 1.11.x 🐞 / PHP 7.4 Test on ubuntu-latest (push) Canceled after 0s
PHP-CS-Fixer / composer_install (7.4) (push) Canceled after 0s
Chamilo 1.11.40 (ZIP oficial v1.11.40)
Fuente: https://github.com/chamilo/chamilo-lms/releases/download/v1.11.40/chamilo-1.11.40.zip
sha256: 1cf4bf2cc7bae1ef1a1eff643235db1d552f78ddf4b6dd1e2d2dac9868679439
Snapshot independiente (rama huerfana); diffable vs 1.11.38. vendor incluido.
2026-08-06 17:59:45 +02:00

141 lines
5.1 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
//! locale : Bengali (Bangladesh) [bn-bd]
//! author : Asraf Hossain Patoary : https://github.com/ashwoolford
;(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';
//! moment.js locale configuration
var symbolMap = {
1: 'ā§§',
2: '⧍',
3: 'ā§Š',
4: 'ā§Ē',
5: 'ā§Ģ',
6: 'ā§Ŧ',
7: 'ā§­',
8: 'ā§Ž',
9: '⧝',
0: 'ā§Ļ',
},
numberMap = {
'ā§§': '1',
'⧍': '2',
'ā§Š': '3',
'ā§Ē': '4',
'ā§Ģ': '5',
'ā§Ŧ': '6',
'ā§­': '7',
'ā§Ž': '8',
'⧝': '9',
'ā§Ļ': '0',
};
var bnBd = moment.defineLocale('bn-bd', {
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 === 'āϰāĻžāϤ') {
return hour < 4 ? hour : hour + 12;
} else if (meridiem === 'āĻ­ā§‹āϰ') {
return hour;
} else if (meridiem === 'āϏāĻ•āĻžāϞ') {
return hour;
} else if (meridiem === 'āĻĻ⧁āĻĒ⧁āϰ') {
return hour >= 3 ? hour : hour + 12;
} else if (meridiem === 'āĻŦāĻŋāĻ•āĻžāϞ') {
return hour + 12;
} else if (meridiem === 'āϏāĻ¨ā§āĻ§ā§āϝāĻž') {
return hour + 12;
}
},
meridiem: function (hour, minute, isLower) {
if (hour < 4) {
return 'āϰāĻžāϤ';
} else if (hour < 6) {
return 'āĻ­ā§‹āϰ';
} else if (hour < 12) {
return 'āϏāĻ•āĻžāϞ';
} else if (hour < 15) {
return 'āĻĻ⧁āĻĒ⧁āϰ';
} else if (hour < 18) {
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 bnBd;
})));