From 6611b228c134b169741c42e4429334839bb33cbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Fri, 15 Sep 2023 23:20:15 +0000 Subject: [PATCH] CountDown revamp with luxon --- ui/package.json | 2 ++ ui/src/components/CountDown.vue | 27 ++++++++++++++------------- ui/yarn.lock | 10 ++++++++++ 3 files changed, 26 insertions(+), 13 deletions(-) diff --git a/ui/package.json b/ui/package.json index b27a7bd..1dff8d5 100644 --- a/ui/package.json +++ b/ui/package.json @@ -20,6 +20,7 @@ "@fortawesome/free-solid-svg-icons": "^6.2.1", "@fortawesome/vue-fontawesome": "^3.0.2", "@types/chai": "^4.3.5", + "@types/luxon": "^3.3.2", "@types/mocha": "^10.0.1", "@typescript-eslint/eslint-plugin": "^6.5.0", "@typescript-eslint/parser": "^6.5.0", @@ -36,6 +37,7 @@ "chai": "^4.2.0", "eslint": "^8.48.0", "eslint-plugin-vue": "^9.17.0", + "luxon": "^3.4.3", "sass": "^1.66.1", "sass-loader": "^13.3.2", "typescript": "~5.2.2" diff --git a/ui/src/components/CountDown.vue b/ui/src/components/CountDown.vue index 1f49aa0..0d9cd6c 100644 --- a/ui/src/components/CountDown.vue +++ b/ui/src/components/CountDown.vue @@ -3,6 +3,7 @@