|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-05-30 12:07 UTC] gooh@php.net
[2018-05-30 12:23 UTC] cmb@php.net
-Status: Open
+Status: Not a bug
-Assigned To:
+Assigned To: cmb
[2018-05-30 12:23 UTC] cmb@php.net
[2018-05-30 12:25 UTC] nikic@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Mon Jun 29 04:00:02 2026 UTC |
Description: ------------ In PHP 7.1 (7.1.18) the timezone SGT is missing in the PHP timezone database. In version 7.0.22 it could be used. Other timezone like gmt, utc, cet,... are fine. Could you please add it again? Test script: --------------- $datetime = DateTime::createFromFormat ('H:i T' , '09:30 SGT'); var_dump(DateTime::getLastErrors()); Expected result: ---------------- no error Actual result: -------------- Error: 'The timezone could not be found in the database'