mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
Set time ms rather than hours (#250)
This commit is contained in:
@@ -63,7 +63,7 @@ export class SendResponse implements BaseResponse {
|
|||||||
|
|
||||||
private static getStandardDeletionDate(days: number) {
|
private static getStandardDeletionDate(days: number) {
|
||||||
const d = new Date();
|
const d = new Date();
|
||||||
d.setHours(d.getHours() + (days * 24));
|
d.setTime(d.getTime() + (days * 86400000)) // ms per day
|
||||||
return d;
|
return d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user