mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1411690 - Floor the repair advance and most recent repair timestamps. r=tcsc
The timestamps are automatically truncated when they're stored in prefs, which is fine because we don't need millisecond precision. However, the truncation raises a warning, so we need to explicitly floor the values. MozReview-Commit-ID: BRflL6s0b1 --HG-- extra : rebase_source : 6724a1ad05cb8aee4ab8c666545784960c23a0f3
This commit is contained in:
parent
e361318990
commit
1225809c1d
@ -82,7 +82,7 @@ this.Doctor = {
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
this.lastRepairAdvance = this._now();
|
||||
this.lastRepairAdvance = Math.floor(this._now());
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user