Closed ghost closed 9 years ago
Looks like you just need to change
$format = system_date_format_locale($langcode, $format_type);
in date_formatter_format()
to
$date_format = system_date_format_load($format_type);
$format = isset($date_format['locales'][$langcode]) ? $date_format['locales'][$langcode] : $date_format['pattern'];
Nice, thanks.
Got this message when trying to save a node with a Date field.