Merge pull request #894 from nyeholt/datefield_ie8_bug

BUG Fixed DateField date format error for IE8
This commit is contained in:
Will Rossiter 2012-10-25 01:09:36 -07:00
commit f719cf76ef

View File

@ -140,7 +140,7 @@ class DateField extends TextField {
$config = array(
'showcalendar' => $this->getConfig('showcalendar'),
'isoDateformat' => $this->getConfig('dateformat'),
'jqueryDateformat' => DateField_View_JQuery::convert_iso_to_jquery_format($this->getConfig('dateformat')),
'jquerydateformat' => DateField_View_JQuery::convert_iso_to_jquery_format($this->getConfig('dateformat')),
'min' => $this->getConfig('min'),
'max' => $this->getConfig('max')
);