diff --git a/layouts/partials/subtitle.html b/layouts/partials/subtitle.html index 886828c..17159d3 100644 --- a/layouts/partials/subtitle.html +++ b/layouts/partials/subtitle.html @@ -23,7 +23,7 @@ const currentDateTime = getCurrentDateTimeUTCPlus6(); const date = formatNumber(currentDateTime.getUTCDate()); const month = formatNumber(currentDateTime.getUTCMonth() + 1); - const year = currentTime.getUTCFullYear().toString().slice(-2); // Получаем последние две цифры года + const year = currentDateTime.getUTCFullYear().toString().slice(-2); // Получаем последние две цифры года const hours = formatNumber(currentDateTime.getUTCHours()); const minutes = formatNumber(currentDateTime.getUTCMinutes()); const seconds = formatNumber(currentDateTime.getUTCSeconds());