mirror of
https://github.com/fruworg/themu.git
synced 2025-01-18 08:50:51 +03:00
date
This commit is contained in:
parent
2217b22fe8
commit
88af5ce9af
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user