contao/test — Issue #2549: wrong data format (M d, Y)
Author: importer
Created: 2011-11-29 09:52:55+00:00
State: open
Labels: backend, Feature, Invalid

Contao 2.9.0 show error when I've tried to save event

steps:
1. go to setting and set date format like M d, Y
2. go to event set dates and try to create new event.
you will get a message

```
Fatal error: Uncaught exception Exception with message Invalid date format "M d, Y" thrown in D:\web\sites\fly\application\system\libraries\Date.php on line 218

#0 D:\web\sites\fly\application\system\libraries\Widget.php(583): Date->getRegexp('M d, Y')
#1 D:\web\sites\fly\application\system\modules\backend\TextField.php(107): Widget->validator('Oct 10, 2010')
#2 D:\web\sites\fly\application\system\libraries\Widget.php(431): TextField->validator('Oct 10, 2010')
#3 D:\web\sites\fly\application\system\modules\backend\DataContainer.php(263): Widget->validate()
#4 D:\web\sites\fly\application\system\drivers\DC_Table.php(1655): DataContainer->row()
#5 D:\web\sites\fly\application\system\modules\backend\Backend.php(234): DC_Table->edit()
#6 D:\web\sites\fly\application\contao\main.php(101): Backend->getBackendModule('calendar')
#7 D:\web\sites\fly\application\contao\main.php(297): Main->run()
#8 {main}
```

--- _Originally created by dmitry on September 20th, 2010, at 01:21pm (ID 2549)_