[php-src] Issue #10946: Wrong timezone for Asia/Tehran in Intl

From: Date: Sun, 26 Mar 2023 12:00:14 +0000
Subject: [php-src] Issue #10946: Wrong timezone for Asia/Tehran in Intl
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-244014@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/10946 Author: Mohsen6558 ### Description The following code: ```php <?php $formatter = new \IntlDateFormatter('en_US@calendar=persian', \IntlDateFormatter::NONE, \IntlDateFormatter::NONE, 'Asia/Tehran', \IntlDateFormatter::TRADITIONAL, "dd/MM/yyyy h:mm a z"); echo $formatter->format(new \DateTime()); ?> Resulted in this output: 06/01/1402 4:15 PM GMT+4:30 But I expected this output instead: 06/01/1402 4:15 PM GMT+3:30 ### PHP Version 8.2 ### Operating System Linux

« previous php.bugs (#244014) next »