From 436d583f655938bdef1ce84bee3fac1575393dfd Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Wed, 11 Aug 2021 20:41:35 +0200 Subject: [PATCH] getter/setter for form input date --- .../components/AddEvaluation.vue | 42 +++++-------- .../components/FormEvaluation.vue | 59 +++++++++++++------ .../vuejs/AccompanyingCourseWorkEdit/store.js | 28 +++++---- 3 files changed, 74 insertions(+), 55 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/components/AddEvaluation.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/components/AddEvaluation.vue index b9f470716..9f8830e96 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/components/AddEvaluation.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/components/AddEvaluation.vue @@ -7,37 +7,26 @@
-
- {{ $t('startDate') }} :
-
- {{ e.startDate.datetime }}
+
{{ $t('startDate') }} :
+
{{ $d(e.startDate.datetime, 'short') }}
-
- {{ $t('endDate') }} :
-
- {{ e.endDate.datetime }}
+
{{ $t('endDate') }} :
+
{{ $d(e.endDate.datetime, 'short') }}
-
- {{ $t('maxDate') }} :
-
- {{ e.maxDate.datetime }}
+
{{ $t('maxDate') }} :
+
{{ $d(e.maxDate.datetime, 'short') }}
-
- {{ $t('warningInterval') }} :
-
- {{ e.warningInterval }}
+
{{ $t('warningInterval') }} :
+
{{ e.warningInterval }}
-
- {{ $t('documents') }} :
-
- {{ e.documents.length }}
+
{{ $t('documents') }} :
+
{{ e.documents.length }}
-
- {{ $t('comment') }} :
-
- {{ e.comment }}
+ +
{{ $t('comment') }} :
+
{{ e.comment }}
- - +