Skip to content

Commit

Permalink
Use ISO format in log message
Browse files Browse the repository at this point in the history
  • Loading branch information
liliakai committed Apr 19, 2017
1 parent 935941e commit 267f1f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/expiring_messages.js
Expand Up @@ -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; }
Expand Down

0 comments on commit 267f1f5

Please sign in to comment.