#6305 [Asn->WFx]: when string contains "at", wrong time returned
| From: | derick@php.net | Date: | Thu, 11 Aug 2005 16:18:34 +0000 |
| Subject: | #6305 [Asn->WFx]: when string contains "at", wrong time returned | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-83378@lists.php.net to get a copy of this message | ||
ID: 6305
Updated by: derick@php.net
Reported By: elkan at cs dot ucsd dot edu
-Status: Assigned
+Status: Wont fix
Bug Type: Feature/Change Request
Operating System: linux
PHP Version: 4.0.1pl2
Assigned To: derick
Previous Comments:
------------------------------------------------------------------------
[2005-08-11 17:47:02] nlopess@php.net
This still happens in PHP 5.1, but I'm not sure if it is fixable.
------------------------------------------------------------------------
[2000-08-27 11:58:20] sniper@php.net
Oops. Typo. It should have read #5041..
--Jani
------------------------------------------------------------------------
[2000-08-27 06:45:19] stas@php.net
Well, I see no relation here to #5401...
The problem seems to be that "at" is seen as "Azores timezone", not as
time delimiter...
------------------------------------------------------------------------
[2000-08-25 13:12:13] sniper@php.net
See #5401.
--Jani
------------------------------------------------------------------------
[2000-08-22 22:21:21] elkan at cs dot ucsd dot edu
When given this date:
Tuesday, 22 Aug 2000 at 5:06 PM EDT
strtotime returns
2000-08-22 15:06:00
i.e. 5pm is converted to 15:00, which is 3pm.
This does not appear to be a time zone problem.
strtotime works correctly when " at" is deleted from the input string.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=6305&edit=1