Hi All,
I would prefer to have a date that is formated like 'February 2, 2010' which I think should be the formated with the following string 'F d, Y' This however generates a general system error like so.
My config isCode:Fatal error: Uncaught exception Exception with message Invalid date format "F d Y" thrown in C:\xampp\htdocs\abmac-tl\system\libraries\Date.php on line 187 #0 C:\xampp\htdocs\abmac-tl\system\libraries\Widget.php(540): Date->getRegexp('F d Y') #1 C:\xampp\htdocs\abmac-tl\system\modules\backend\TextField.php(105): Widget->validator('January 15 2010') #2 C:\xampp\htdocs\abmac-tl\system\libraries\Widget.php(420): TextField->validator('January 15 2010') #3 C:\xampp\htdocs\abmac-tl\system\modules\backend\DataContainer.php(251): Widget->validate() #4 C:\xampp\htdocs\abmac-tl\system\drivers\DC_Table.php(1473): DataContainer->row() #5 C:\xampp\htdocs\abmac-tl\system\modules\backend\Backend.php(208): DC_Table->edit() #6 C:\xampp\htdocs\abmac-tl\typolight\main.php(99): Backend->getBackendModule('news') #7 C:\xampp\htdocs\abmac-tl\typolight\main.php(294): Main->run() #8 {main}
$GLOBALS['TL_CONFIG']['dateFormat'] = 'F d, Y';
$GLOBALS['TL_CONFIG']['datimFormat'] = 'F d, Y';
Whats the correct formating string?
Bookmarks