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

44
node_modules/date-and-time/esm/locale/ru.mjs generated vendored Normal file
View File

@ -0,0 +1,44 @@
/**
* @preserve date-and-time.js locale configuration
* @preserve Russian (ru)
* @preserve It is using moment.js locale configuration as a reference.
*/
var ru = function (date) {
var code = 'ru';
date.locale(code, {
res: {
MMMM: ['Января', 'Февраля', 'Марта', 'Апреля', 'Мая', 'Июня', 'Июля', 'Августа', 'Сентября', 'Октября', 'Ноября', 'Декабря'],
MMM: ['янв', 'фев', 'мар', 'апр', 'мая', 'июня', 'июля', 'авг', 'сен', 'окт', 'ноя', 'дек'],
dddd: ['Воскресенье', 'Понедельник', 'Вторник', 'Среда', 'Четверг', 'Пятница', 'Суббота'],
ddd: ['Вс', 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб'],
dd: ['Вс', 'Пн', 'Вт', 'Ср', 'Чт', 'Пт', 'Сб'],
A: ['ночи', 'утра', 'дня', 'вечера']
},
formatter: {
A: function (d) {
var h = d.getHours();
if (h < 4) {
return this.res.A[0]; // ночи
} else if (h < 12) {
return this.res.A[1]; // утра
} else if (h < 17) {
return this.res.A[2]; // дня
}
return this.res.A[3]; // вечера
}
},
parser: {
h12: function (h, a) {
if (a < 2) {
return h; // ночи, утра
}
return h > 11 ? h : h + 12; // дня, вечера
}
}
});
return code;
};
export { ru as default };