mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
Fixed date conversion issue when importing (#15434)
This commit is contained in:
@@ -22,7 +22,7 @@ export class PasswordHistoryExport {
|
||||
|
||||
static toDomain(req: PasswordHistoryExport, domain = new Password()) {
|
||||
domain.password = req.password != null ? new EncString(req.password) : null;
|
||||
domain.lastUsedDate = req.lastUsedDate;
|
||||
domain.lastUsedDate = req.lastUsedDate ? new Date(req.lastUsedDate) : null;
|
||||
return domain;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user