Prefer ISO date formatting
Previously, this was formatted using locale specific settings. This will allow easier debugging by matching key rotation timestamps against log timestamps.
This commit is contained in:
parent
2e4893f4c1
commit
32ac99b439
1 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,10 @@
|
||||||
var time = storage.get('nextSignedKeyRotationTime', now);
|
var time = storage.get('nextSignedKeyRotationTime', now);
|
||||||
|
|
||||||
if (scheduledTime !== time || !timeout) {
|
if (scheduledTime !== time || !timeout) {
|
||||||
console.log('Next signed key rotation scheduled for', new Date(time));
|
console.log(
|
||||||
|
'Next signed key rotation scheduled for',
|
||||||
|
new Date(time).toISOString()
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
scheduledTime = time;
|
scheduledTime = time;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue