mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-06 03:49:56 +02:00
support "\" in date regex for text fields
This commit is contained in:
parent
c741e5abe4
commit
92f11df08c
2 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
September 2023
|
September 2023
|
||||||
- Accessibility improvements
|
- Accessibility improvements
|
||||||
|
- LAM Pro:
|
||||||
|
-> Custom fields: support "\" in date regex for text fields
|
||||||
|
|
||||||
|
|
||||||
06.06.2023 8.4
|
06.06.2023 8.4
|
||||||
|
|
|
@ -810,6 +810,7 @@ class htmlInputField extends htmlElement {
|
||||||
$format = str_replace('yy', 'Y', $format);
|
$format = str_replace('yy', 'Y', $format);
|
||||||
$format = str_replace('dd', 'd', $format);
|
$format = str_replace('dd', 'd', $format);
|
||||||
$format = str_replace('mm', 'm', $format);
|
$format = str_replace('mm', 'm', $format);
|
||||||
|
$format = str_replace('\\', '\\\\', $format);
|
||||||
$this->calendarFormat = $format;
|
$this->calendarFormat = $format;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue