From cd2cf8ca088db7789d82b6ce3ce4ee91ebf97043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Sat, 10 Sep 2022 02:11:36 +0000 Subject: [PATCH] moment -> luxon --- ui/package.json | 3 ++- ui/src/App.vue | 2 +- ui/src/components/ClockDisplay.vue | 16 +++++++++++----- ui/src/components/TitleBar.vue | 8 ++++---- ui/yarn.lock | 15 ++++++++++----- 5 files changed, 28 insertions(+), 16 deletions(-) diff --git a/ui/package.json b/ui/package.json index b70b85e..20807c5 100644 --- a/ui/package.json +++ b/ui/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "core-js": "^3.8.3", - "moment": "^2.29.4", + "luxon": "^3.0.3", "register-service-worker": "^1.7.2", "vue": "^2.6.14", "vue-class-component": "^7.2.3", @@ -17,6 +17,7 @@ "vuetify": "^2.6.0" }, "devDependencies": { + "@types/luxon": "^3.0.1", "@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/parser": "^5.4.0", "@vue/cli-plugin-babel": "~5.0.0", diff --git a/ui/src/App.vue b/ui/src/App.vue index c26e043..5c8b497 100644 --- a/ui/src/App.vue +++ b/ui/src/App.vue @@ -32,9 +32,9 @@ mdi-open-in-new --> - + diff --git a/ui/src/components/ClockDisplay.vue b/ui/src/components/ClockDisplay.vue index afa956e..e9a0e7b 100644 --- a/ui/src/components/ClockDisplay.vue +++ b/ui/src/components/ClockDisplay.vue @@ -4,21 +4,27 @@ diff --git a/ui/src/components/TitleBar.vue b/ui/src/components/TitleBar.vue index ce1a6ab..a7ffb05 100644 --- a/ui/src/components/TitleBar.vue +++ b/ui/src/components/TitleBar.vue @@ -1,12 +1,12 @@