PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Date and Time » Date » Bug #1103

Inline documentation error

Details

Submitted2004-03-31 12:51 UTC
Frommikeatwork at ukonline dot co dot uk
Assignedpajoye
StatusNo Feedback
PackageDate
PHP Version4.3.4
OSLinux 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