Home » Date and Time » Date » Bug #1103
Inline documentation error
Details
| Submitted | 2004-03-31 12:51 UTC |
|---|---|
| From | mikeatwork at ukonline dot co dot uk |
| Assigned | pajoye |
| Status | No Feedback |
| Package | Date |
| PHP Version | 4.3.4 |
| OS | Linux Redhat |
| Roadmaps | (Not assigned) |
Comments
[2004-03-31 12:51 UTC] mikeatwork at ukonline dot co dot uk
Description:
------------
The following documentation for the regular expression is incorrect.
/**
* "YYYY-MM-SSTHH:MM:SS(Z|(+/-)HH:MM)?"
*/
define('DATE_FORMAT_ISO_EXTENDED', 3);
Expected result:
----------------
The 'HH:MM' at the end of the timestamp is the alternative to specifying a 'Z'
[2004-05-16 13:14 UTC] paj at pearfr dot org
This is exactly what the inline says. '|' is an OR here. Or am I missing what you say?
--Pierre