add LOGIN_TIMEOUT (180s) for PW, but prompts still wait forever
This commit is contained in:
parent
704c4b01e1
commit
8c2ac3b6d0
7 changed files with 16 additions and 13 deletions
1
util.js
1
util.js
|
|
@ -17,6 +17,7 @@ export const jsonDb = async file => {
|
|||
};
|
||||
|
||||
|
||||
export const delay = ms => new Promise(resolve => setTimeout(resolve, ms));
|
||||
// date and time as UTC (no timezone offset) in nicely readable and sortable format, e.g., 2022-10-06 12:05:27.313
|
||||
export const datetime = (d = new Date()) => d.toISOString().replace('T', ' ').replace('Z', '');
|
||||
// same as datetime() but for local timezone, e.g., UTC + 2h for the above in DE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue