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 |
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 commentedHere is a patch to use DateTime::setTimestamp to use the unix timestamp from strtotime() to set the correct value in the DateTime object.