#7651 closed defect (bug) (fixed)
Constants in iso8601_to_datetime() should be strings instead
| Reported by: | jacobsantos | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 2.7 |
| Component: | General | Version: | 2.7 |
| Severity: | minor | Keywords: | has-patch needs-testing |
| Cc: | Focuses: |
Description
The constants used for iso8601_to_datetime() should be strings instead. PHP will convert the constants to strings once it realizes that there are no constants (yet) that match.
Fixes among other things, a notice that would be displayed.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Convert constants to lowercase strings and compare. Based off of r8781