Bug #75754 [Csd->Nab]: Error parsing dates with "BRST"

From: Date: Wed, 03 Jan 2018 15:51:00 +0000
Subject: Bug #75754 [Csd->Nab]: Error parsing dates with "BRST"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-213362@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75754&edit=1 ID: 75754 Updated by: requinix@php.net Reported by: hugofcampos at gmail dot com Summary: Error parsing dates with "BRST" -Status: Closed +Status: Not a bug Type: Bug Package: Date/time related Operating System: Ubuntu 17.04 PHP Version: 7.0.26 Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2018-01-03 13:37:33] 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 12:28:14] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75754&edit=1

« previous php.bugs (#213362) next »