mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 14:32:18 +00:00
datetime format bewerbung_abgeschickt_am
This commit is contained in:
@@ -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"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user