#7651 closed defect (bug) (fixed)
Constants in iso8601_to_datetime() should be strings instead
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.7 | Priority: | low |
Severity: | minor | Version: | 2.7 |
Component: | General | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
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.
Convert constants to lowercase strings and compare. Based off of r8781