feat(user-update): Konstante Variablen zur Bestimmung der zulässigen Datumsformate in den Umgebungen erstellt.

- Zugelassene Datumsformate in Combobox als Optionen mit Angular for-Schleife hinzugefügt
This commit is contained in:
Developer 02
2024-10-31 09:03:19 +01:00
parent 2800392be3
commit faac31b3bb
4 changed files with 47 additions and 10 deletions

View File

@@ -53,7 +53,7 @@ export const env = {
field: 'email'
},
{
header:'Kommentar',
header: 'Kommentar',
field: 'comment'
},
{
@@ -195,5 +195,21 @@ export const env = {
},
]
},
config_url: "/assets/config.json"
};
config_url: "/assets/config.json",
constants: {
date_formats: [
{
value: "dd.MM.yyyy",
name: "dd.MM.yyyy",
},
{
value: "MM.dd.yyyy",
name: "MM.dd.yyyy",
},
{
value: "yyyy-MM-dd",
name: "yyyy-MM-dd",
}
]
}
};