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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: andre at promediasystems dot de
New email:
PHP Version: OS:

 

 [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-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC