Ich muss diesen alten Thread nochmal rauskramen...
Ich habe bei einem aktuellen Projekt (Contao 2.11) auch das Datum mit l, d.F Y umformatiert.
Wenn ich nun bei einer Nachricht einen Anzeigezeitraum einstellen will erhalte ich folgende Fehlermeldung
Code:
Fatal error: Uncaught exception Exception with message Invalid date format "l, d.F Y" thrown in /Applications/XAMPP/xamppfiles/htdocs/awe/system/libraries/Date.php on line 219
#0 /Applications/XAMPP/xamppfiles/htdocs/awe/system/libraries/Widget.php(719): Date->getRegexp('l, d.F Y')
#1 /Applications/XAMPP/xamppfiles/htdocs/awe/system/modules/backend/TextField.php(113): Widget->validator('Sonntag, 15.Jul...')
#2 /Applications/XAMPP/xamppfiles/htdocs/awe/system/libraries/Widget.php(551): TextField->validator('Sonntag, 15.Jul...')
#3 /Applications/XAMPP/xamppfiles/htdocs/awe/system/modules/backend/DataContainer.php(309): Widget->validate()
#4 /Applications/XAMPP/xamppfiles/htdocs/awe/system/drivers/DC_Table.php(1748): DataContainer->row('{title_legend},...')
#5 /Applications/XAMPP/xamppfiles/htdocs/awe/system/modules/backend/Backend.php(287): DC_Table->edit()
#6 /Applications/XAMPP/xamppfiles/htdocs/awe/contao/main.php(120): Backend->getBackendModule('news')
#7 /Applications/XAMPP/xamppfiles/htdocs/awe/contao/main.php(230): Main->run()
#8 {main}
Geht das grundsätzlich nicht?
Bin für jeden Tipp dankbar.
Lesezeichen