mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
web: fix failing reminder tests due to malformed time format
This commit is contained in:
@@ -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")}`;
|
||||
|
||||
Reference in New Issue
Block a user