From 576a44838f7e5db19001b03a2f337f23bc0956ab Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Thu, 16 Jul 2026 15:53:32 +0200 Subject: [PATCH] datetime format bewerbung_abgeschickt_am --- .../Stv/Studentenverwaltung/Details/Status/Modal.js | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/public/js/components/Stv/Studentenverwaltung/Details/Status/Modal.js b/public/js/components/Stv/Studentenverwaltung/Details/Status/Modal.js index 9d657b4db..ce190fdb5 100644 --- a/public/js/components/Stv/Studentenverwaltung/Details/Status/Modal.js +++ b/public/js/components/Stv/Studentenverwaltung/Details/Status/Modal.js @@ -135,11 +135,6 @@ export default{ .then(result => { this.statusNew = false; this.formData = result.data; - //to show Date in correct format in the modal (is timestamp in database) - if (this.formData.bewerbung_abgeschicktamum) { - this.formData.bewerbung_abgeschicktamum = - this.formData.bewerbung_abgeschicktamum.substring(0, 10); - } this.originalDatum = new Date(result.data.datum); return prestudent; }) @@ -313,14 +308,14 @@ export default{ container-class="mb-3" type="DatePicker" v-model="formData.bewerbung_abgeschicktamum" - model-type="yyyy-MM-dd" + model-type="yyyy-MM-dd HH:mm:ss" name="bewerbung_abgeschicktamum" :label="$p.t('lehre/bewerbung_abgeschickt_am')" auto-apply - :enable-time-picker="false" - format="dd.MM.yyyy" + :enable-time-picker="true" + format="dd.MM.yyyy HH:mm:ss" text-input - preview-format="dd.MM.yyyy" + preview-format="dd.MM.yyyy HH:mm:ss" :teleport="true" :disabled="bisLocked || !hasPrestudentstatusPermission" >