From: [EMAIL PROTECTED] Operating system: PHP version: 5.0.0b2 (beta2) PHP Bug Type: Feature/Change Request Bug description: strtotime() does not understand ISO6801 datetime format as used in XMLSchema
Description: ------------ "2003-11-19T08:30:42Z" is not recognized as the 'T' and 'Z' are understood as two (military) time zone specifiers which is not legal within a single time string this has already partly fixed in CVS so that "2003-11-19T08:30:42Z" is being accepted and returns the expected value, but "2003-11-19T08:30:42" which is also valid as the "Z" is optional in ISO6801 will be parsed as a time in the (military) 'T' timezone which equals MST whereas in ISO6801 the 'T' is only a delimiter to be put between the date and time parts of a datetime string. the timezone should still be GMT in this special case ... -- Edit bug report at http://bugs.php.net/?id=26320&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26320&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26320&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26320&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26320&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26320&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=26320&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26320&r=support Expected behavior: http://bugs.php.net/fix.php?id=26320&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26320&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26320&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26320&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26320&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26320&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26320&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26320&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26320&r=float