web: fix failing reminder tests due to malformed time format

This commit is contained in:
Abdullah Atta
2023-01-14 12:01:35 +05:00
parent c80def5d95
commit 6ffa192f08

View File

@@ -104,7 +104,7 @@ export async function fillReminderDialog(
);
}
const time = `${date.getHours()}:${date
const time = `${date.getHours().toString().padStart(2, "0")}:${date
.getMinutes()
.toString()
.padStart(2, "0")}`;