This commit is contained in:
Dauren777 2026-06-19 07:03:12 +00:00
parent cad96a0dcd
commit 3c76e33739

View File

@ -293,7 +293,10 @@ function clearForm() {
function formatDate(dateStr) {
const date = new Date(dateStr);
return date.toLocaleDateString('ru-RU');
const day = date.getDate().toString().padStart(2, '0');
const month = (date.getMonth() + 1).toString().padStart(2, '0');
const year = date.getFullYear().toString().slice(-2);
return `${day}.${month}.${year}`;
}
function formatMonth(monthStr) {