php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75754 Error parsing dates with "BRST"
Submitted: 2018-01-03 12:28 UTC Modified: 2018-01-03 15:50 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: hugofcampos at gmail dot com Assigned:
Status: Not a bug Package: Date/time related
PHP Version: 7.0.26 OS: Ubuntu 17.04
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hugofcampos at gmail dot com
New email:
PHP Version: OS:

 

 [2018-01-03 12:28 UTC] hugofcampos at gmail dot com
Description:
------------
If I try to parse some date by DateTime constructor with BRST timezone, a Fatal Error "Failed to parse time string" is thrown.

Test script:
---------------
https://3v4l.org/c6K56


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-01-03 13:37 UTC] hugofcampos at gmail dot com
-Status: Open +Status: Closed
 [2018-01-03 13:37 UTC] hugofcampos at gmail dot com
This behavior is expected and explained here: 
https://stackoverflow.com/questions/48076970/why-php-does-not-parse-brst-dates-anymore
 [2018-01-03 15:50 UTC] requinix@php.net
-Status: Closed +Status: Not a bug
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 08:00:02 2026 UTC