Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When attempting to set the ctools context cod_schedule_default_day results in an error from DateTime due to an unexpected date format.
Comment | File | Size | Author |
---|---|---|---|
#2 | cod_schedule_default_day-2853857-2.patch | 696 bytes | twardnw |
Comments
Comment #2
twardnw CreditAttribution: twardnw as a volunteer and at amazee.io commentedHere is a patch to use DateTime::setTimestamp to use the unix timestamp from strtotime() to set the correct value in the DateTime object.