From 33c3cf32789ddf04e8654b9da1c4afdf3706556e Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 29 Oct 2021 16:34:50 +0200 Subject: [PATCH] Remove unnecessary irc.formatDate call --- components/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/app.js b/components/app.js index 097cfb9..32aed7d 100644 --- a/components/app.js +++ b/components/app.js @@ -750,7 +750,7 @@ export default class App extends Component { client.fetchHistoryTargets(now, lastReceipt.time).then((targets) => { targets.forEach((target) => { let from = lastReceipt; - let to = { time: msg.tags.time || irc.formatDate(new Date()) }; + let to = { time: msg.tags.time || now }; this.fetchBacklog(client, target.name, from, to); }); });