From f7dc74d508a6a1e8fbce7b706e5f080d0aa1e409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Sat, 16 Sep 2023 00:16:57 +0000 Subject: [PATCH] unused `Date` object --- ui/src/components/CountDown.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/CountDown.vue b/ui/src/components/CountDown.vue index 0d9cd6c..6836801 100644 --- a/ui/src/components/CountDown.vue +++ b/ui/src/components/CountDown.vue @@ -23,7 +23,7 @@ export default class extends Vue { public string_repr = ""; private get target_date_ms(): number { - return new Date(Date.now() + this.millis).getTime(); + return Date.now() + this.millis; } private tick(): void {