I started getting this error:

Notice: Undefined index: show_remaining_days in date_field_formatter_view() (line 210 of …/date/date.field.inc).

Patched according to this post, and it works, wondering if this was the correct fix? wondering why the patch never made it into a release, as it looks like it was applied to a dev version a while back.

https://www.drupal.org/node/2469189

Thanks.

Comments

butteryak created an issue. See original summary.

greendemiurge’s picture

I'm getting this too. The patch that was in https://www.drupal.org/node/2469189 was applied October 2nd, but the current non-dev version was released 2015-Sep-08, so the patch isn't in there. You can apply the patch by downloading it to your date directory (https://www.drupal.org/files/issues/date-show_remaining_days_notice-2469...) and running patch -p1 < date-show_remaining_days_notice-2469189-1.patch from command line within your date module directory.

hamrant’s picture

Status: Active » Patch (to be ported)

Indeed, in the current module version(7.x-2.9) patch #2469189: Notice: Undefined index: show_remaining_days in date_field_formatter_view() (line 210 of …/date/date.field.inc)., is missing.
I think it will be included in the next release.

kenorb’s picture

Status: Patch (to be ported) » Needs review
jrabeemer’s picture

kenorb’s picture

Status: Needs review » Fixed
kenorb’s picture