- quickfix for saving call;

This commit is contained in:
Vitalii Kiiko
2024-12-02 10:07:45 +01:00
parent b94b513279
commit 1cf9926f0a
2 changed files with 2 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
* @return {string}
*/
const formatDateString = (date) => {
console.log('date', date);
const year = date.getFullYear();
const month = String(date.getMonth() + 1).padStart(2, '0');
const day = String(date.getDate()).padStart(2, '0');