When I go to /admin/structure/types/manage/TYPE/display and try to change display settings of a Date field, the form appears, I change setting and Update action looks successful but after reloading page I see that settings are not really changed. PHP notices are generated during this process:

Notice: Undefined index: format_type in date_default_formatter_settings_form() (line 21 of /srv/drupal/sites/all/modules/date/date_admin.inc).
Notice: Undefined index: fromto in date_default_formatter_settings_form() (line 35 of /srv/drupal/sites/all/modules/date/date_admin.inc).
Notice: Undefined index: multiple_number in date_default_formatter_settings_form() (line 48 of /srv/drupal/sites/all/modules/date/date_admin.inc).
Notice: Undefined index: multiple_from in date_default_formatter_settings_form() (line 60 of /srv/drupal/sites/all/modules/date/date_admin.inc).
Notice: Undefined index: multiple_to in date_default_formatter_settings_form() (line 71 of /srv/drupal/sites/all/modules/date/date_admin.inc).

Comments

Countzero’s picture

Same here. Plus it creates AJAX parse errors when accessing fields from Display Suite.

gbyte’s picture

Getting the same errors when changing the date field's display format to any other than default. This seems to be the only post on this issue which is strange as displaying custom formatted date seems very basic. Guys have you found a solution or a way to get round this?

wranvaud’s picture

Issue summary: View changes

Having this issue on version 2.10, exact same error messages.

Had to use the module admin pages and create a new time format
First here /admin/config/regional/date-time/formats
Then here /admin/config/regional/date-time
And finally set this newly created format as "Date and time" on the node display settings.