From b4f1fd5b25b1191b71e9497a2eb5f894118b789a Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 5 Mar 2023 11:38:07 -0600 Subject: [PATCH] Remove currently from date/time setting --- client/pages/config/index.vue | 19 +++++-------------- package-lock.json | 2 +- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/client/pages/config/index.vue b/client/pages/config/index.vue index c50a5fe3..7f0170c7 100644 --- a/client/pages/config/index.vue +++ b/client/pages/config/index.vue @@ -70,17 +70,14 @@
-

{{ $strings.LabelExample }}: {{ dateExample }}

-

{{ $strings.LabelCurrently }} {{ currentlyDate }}

+

{{ $strings.LabelExample }}: {{ dateExample }}

-

{{ $strings.LabelExample }}: {{ timeExample }}

-

{{ $strings.LabelCurrently }} {{ currentlyTime }}

+

{{ $strings.LabelExample }}: {{ timeExample }}

-
@@ -306,20 +303,14 @@ export default { timeFormats() { return this.$store.state.globals.timeFormats }, - currentlyDate() { - return this.$formatJsDate(new Date(), this.newServerSettings.dateFormat) - }, - currentlyTime() { - return this.$formatJsTime(new Date(), this.newServerSettings.timeFormat) - }, dateExample() { - const date = new Date(2014, 2, 25); + const date = new Date(2014, 2, 25) return this.$formatJsDate(date, this.newServerSettings.dateFormat) }, timeExample() { - const date = new Date(2014, 2, 25, 17, 30, 0); + const date = new Date(2014, 2, 25, 17, 30, 0) return this.$formatJsTime(date, this.newServerSettings.timeFormat) - }, + } }, methods: { updateSortingPrefixes(val) { diff --git a/package-lock.json b/package-lock.json index 8edcbc01..1533c39a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2314,4 +2314,4 @@ "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==" } } -} \ No newline at end of file +}