Use ISO format in log message
This commit is contained in:
parent
935941e31e
commit
267f1f5d93
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
var expiring = new Whisper.MessageCollection();
|
||||
expiring.once('add', function(next) {
|
||||
var expires_at = next.get('expires_at');
|
||||
console.log('next message expires', new Date(expires_at));
|
||||
console.log('next message expires', new Date(expires_at).toISOString());
|
||||
|
||||
var wait = expires_at - Date.now();
|
||||
if (wait < 0) { wait = 0; }
|
||||
|
|
Loading…
Reference in a new issue