Posted by jurgenhaas on May 14, 2010 at 8:32am
2 followers
Jump to:
| Project: | Date |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
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.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| date_d7.patch | 377 bytes | Ignored: Check issue status. | None | None |
Comments
#1
This 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.