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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 04:01:30 2024 UTC