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

#2 cod_schedule_default_day-2853857-2.patch696 bytestwardnw
Members fund testing for the Drupal project. Drupal Association Learn more


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.