The function date_format_date() in date_api.module sometimes gets its first parameter $date as string and this is then causing errors later in the functione, e.g. when calling date_format
The attached patch is fixing that.
| Comment | File | Size | Author |
|---|---|---|---|
| date_d7.patch | 377 bytes | jurgenhaas |
Comments
Comment #1
dwwThis is the same bug as #518816: warning: date_format() expects parameter 1 to be DateTime and that it just effects both the 6.x-2.x-dev and 7.x-1.x-dev branches. I re-rolled your patch and posted it there. Please join us in the earliest open issue about this bug. Thanks.