prettier fixed

This commit is contained in:
MaxOvs19
2023-06-22 14:56:31 +03:00
parent 9bc60434cc
commit 5ab7e65905
5 changed files with 228 additions and 185 deletions

View File

@ -53,12 +53,11 @@ export function scrollToForm() {
}
export function getCorrectRequestDate(date) {
const yyyy = String(date.getUTCFullYear())
const yyyy = String(date.getUTCFullYear());
const mm = String(date.getUTCMonth() + 1).padStart(2, "0");
const dd = String(date.getUTCDate()).padStart(2, "0");
const hh = String(date.getUTCHours())
const min = String(date.getUTCMinutes())
const sec = String(date.getUTCSeconds())
return `${yyyy}-${mm}-${dd} ${hh}:${min}:${sec}`
const hh = String(date.getUTCHours());
const min = String(date.getUTCMinutes());
const sec = String(date.getUTCSeconds());
return `${yyyy}-${mm}-${dd} ${hh}:${min}:${sec}`;
}