ZF-11837: Zend_Locale_Format::checkDateFormat() generates E_NOTICE when locale option key not specified
Description
In Locale/Format.php, line 1140:
$options['date_format'] = self::getDateFormat($options['locale']);
$options may not contain a 'locale' element at this point, generating an E_NOTICE.
This will resolve to NULL which will be handled correctly further down the call chain (use application's default locale instead), so the problem is only the E_NOTICE itself.
Comments
Posted by Adam Lundrigan (adamlundrigan) on 2011-10-22T00:02:49.000+0000
Fixed in trunk r24518 r24520 r24521 Merged to release-1.11 in r24519 r24522
Posted by Adam Lundrigan (adamlundrigan) on 2011-10-22T00:13:32.000+0000
ZF2 pull request issued https://github.com/zendframework/zf2/pull/519