mirror of https://github.com/keeweb/keeweb
Fix: wrong argument passed
parent
96ee17b8cc
commit
0a9846b86f
|
@ -61,7 +61,7 @@ const DateFormat = {
|
|||
if (typeof dt === 'number') {
|
||||
dt = new Date(dt);
|
||||
}
|
||||
return dt ? new Date().toISOString().replaceAll(':', '-').slice(0, 19) : '';
|
||||
return dt ? dt.toISOString().replaceAll(':', '-').slice(0, 19) : '';
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue