Skip to content

Commit

Permalink
Fix formatDate call
Browse files Browse the repository at this point in the history
  • Loading branch information
cdupuis committed Aug 23, 2018
1 parent 738b405 commit f3f6be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdm/ui/ConsoleMessageClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}

/**
Expand Down

0 comments on commit f3f6be3

Please sign in to comment.