When attempting to set the ctools context cod_schedule_default_day results in an error from DateTime due to an unexpected date format.

CommentFileSizeAuthor
#2 cod_schedule_default_day-2853857-2.patch696 bytestwardnw
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

twardnw created an issue. See original summary.

twardnw’s picture

Here is a patch to use DateTime::setTimestamp to use the unix timestamp from strtotime() to set the correct value in the DateTime object.