From f3f6be37f6f577c474c78d53756444b6a6dc6813 Mon Sep 17 00:00:00 2001 From: Christian Dupuis Date: Thu, 23 Aug 2018 12:43:53 +0200 Subject: [PATCH] Fix formatDate call --- src/sdm/ui/ConsoleMessageClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdm/ui/ConsoleMessageClient.ts b/src/sdm/ui/ConsoleMessageClient.ts index 9d715715..337d74c1 100644 --- a/src/sdm/ui/ConsoleMessageClient.ts +++ b/src/sdm/ui/ConsoleMessageClient.ts @@ -140,7 +140,7 @@ export class ConsoleMessageClient implements MessageClient, SlackMessageClient { } private dateString() { - return chalk.dim(formatDate("{year}{month}{day} {hours}:{minutes}:{seconds}", Date.now())); + return chalk.dim(formatDate("{year}{month}{day} {hours}:{minutes}:{seconds}", new Date())); } /**