mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-31 08:20:37 +01:00
Set time ms rather than hours (#250)
This commit is contained in:
parent
80f6ae675f
commit
1e1677695c
@ -63,7 +63,7 @@ export class SendResponse implements BaseResponse {
|
||||
|
||||
private static getStandardDeletionDate(days: number) {
|
||||
const d = new Date();
|
||||
d.setHours(d.getHours() + (days * 24));
|
||||
d.setTime(d.getTime() + (days * 86400000)) // ms per day
|
||||
return d;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user