Ticket #7651 (closed defect (bug): fixed)

Opened 4 months ago

Last modified 3 months ago

Constants in iso8601_to_datetime() should be strings instead

Reported by: jacobsantos Assigned to: anonymous
Priority: low Milestone: 2.7
Component: General Version: 2.7
Severity: minor Keywords: has-patch needs-testing
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

7651.r8781.diff (1.5 kB) - added by jacobsantos on 08/30/08 20:45:49.
Convert constants to lowercase strings and compare. Based off of r8781

Change History

08/30/08 20:45:49 changed by jacobsantos

  • attachment 7651.r8781.diff added.

Convert constants to lowercase strings and compare. Based off of r8781

08/30/08 21:09:40 changed by jacobsantos

  • keywords set to has-patch needs-testing.

08/30/08 21:09:44 changed by jacobsantos

  • version set to 2.7.

10/13/08 22:14:53 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [9137]) Convert undefined constants to strings. Props jacobsantos. fixes #7651