From 795b26e1dde781e152ab03fc31fd95f9f106a452 Mon Sep 17 00:00:00 2001
From: Dominik Pschenitschni
Date: Tue, 7 Mar 2023 18:01:54 +0100
Subject: [PATCH] feat: improve datemathHelp.vue
---
src/components/date/datemathHelp.story.vue | 11 +++++++++++
src/components/date/datemathHelp.vue | 21 ++++++++++++---------
src/i18n/lang/en.json | 6 +++---
3 files changed, 26 insertions(+), 12 deletions(-)
create mode 100644 src/components/date/datemathHelp.story.vue
diff --git a/src/components/date/datemathHelp.story.vue b/src/components/date/datemathHelp.story.vue
new file mode 100644
index 00000000..cc3d858d
--- /dev/null
+++ b/src/components/date/datemathHelp.story.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/components/date/datemathHelp.vue b/src/components/date/datemathHelp.vue
index a407d9ee..2feaa3ac 100644
--- a/src/components/date/datemathHelp.vue
+++ b/src/components/date/datemathHelp.vue
@@ -1,7 +1,8 @@
+ :title="$t('input.datemathHelp.title')"
+ >
{{ $t('input.datemathHelp.intro') }}
@@ -27,11 +28,11 @@
{{ $t('misc.forExample') }}
- +1d
{{ $t('input.datemathHelp.add1Day') }}
- -1d
{{ $t('input.datemathHelp.minus1Day') }}
- /d
{{ $t('input.datemathHelp.roundDay') }}
+ +1d
{{ $t('input.datemathHelp.add1Day') }}
+ -1d
{{ $t('input.datemathHelp.minus1Day') }}
+ /d
{{ $t('input.datemathHelp.roundDay') }}
- {{ $t('input.datemathHelp.supportedUnits') }}
+ {{ $t('input.datemathHelp.supportedUnits') }}
- {{ $t('input.datemathHelp.someExamples') }}
+ {{ $t('input.datemathHelp.someExamples') }}
@@ -100,7 +101,7 @@
{{ exampleDate }}||+1M/d |
- {{ exampleDate }}
+ {{ exampleDate }}
|
@@ -110,13 +111,15 @@