php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9007 strtotime cannot cope correctly with time zones
Submitted: 2001-01-30 14:15 UTC Modified: 2002-06-18 18:21 UTC
From: andre at promediasystems dot de Assigned:
Status: Closed Package: Date/time related
PHP Version: 4.0.4pl1 OS: Linux 2.2.16
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
33 - 14 = ?
Subscribe to this entry?

 
 [2001-01-30 14:15 UTC] andre at promediasystems dot de
strtotime cannot evaluate timestamps like this:
"2001-1-29 14:35:12 +1:00"

Only string time zones are allowed like this:
"2001-1-29 14:35:12 CET"

Thats  bad because postgres delivers the former timestamps...

Andre

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-29 05:54 UTC] jmoore@php.net
dup of 9640
 [2002-06-18 18:21 UTC] sniper@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 10:01:29 2024 UTC