From 88af5ce9af0f526cfe767e79a09090c7d7b6e791 Mon Sep 17 00:00:00 2001 From: fruworg Date: Mon, 31 Jul 2023 01:39:58 +0500 Subject: [PATCH] date --- layouts/partials/subtitle.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());