mirror of
https://github.com/fruworg/themu.git
synced 2024-11-16 07:07:16 +03:00
date
This commit is contained in:
parent
2217b22fe8
commit
88af5ce9af
@ -23,7 +23,7 @@
|
|||||||
const currentDateTime = getCurrentDateTimeUTCPlus6();
|
const currentDateTime = getCurrentDateTimeUTCPlus6();
|
||||||
const date = formatNumber(currentDateTime.getUTCDate());
|
const date = formatNumber(currentDateTime.getUTCDate());
|
||||||
const month = formatNumber(currentDateTime.getUTCMonth() + 1);
|
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 hours = formatNumber(currentDateTime.getUTCHours());
|
||||||
const minutes = formatNumber(currentDateTime.getUTCMinutes());
|
const minutes = formatNumber(currentDateTime.getUTCMinutes());
|
||||||
const seconds = formatNumber(currentDateTime.getUTCSeconds());
|
const seconds = formatNumber(currentDateTime.getUTCSeconds());
|
||||||
|
Loading…
Reference in New Issue
Block a user