Bug #76576 [Fbk->NoF]: DateTime formats different Timezones with 'e' and 'T' format codes

From: Date: Sun, 18 Apr 2021 04:22:10 +0000
Subject: Bug #76576 [Fbk->NoF]: DateTime formats different Timezones with 'e' and 'T' format codes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-233482@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76576&edit=1 ID: 76576 Updated by: php-bugs@lists.php.net Reported by: nospam at tils dot org Summary: DateTime formats different Timezones with 'e' and 'T' format codes -Status: Feedback +Status: No Feedback Type: Bug Package: Date/time related Operating System: Ubuntu PHP Version: 7.2.7 Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2021-04-06 18:39:57] derick@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. I can't reproduce this. ------------------------------------------------------------------------ [2018-07-04 09:59:31] nospam at tils dot org Regarding your assumption I added the output of DateTime::listAbbrevations(). I didnt find a method to add a file here, so here you can find it: https://cloud.tils.org/index.php/s/9DSZSL8arndXG7b ------------------------------------------------------------------------ [2018-07-04 09:09:15] requinix@php.net Well, all I can think of is that your timezone database is messed up and somehow has a "UTC" timezone mapped to CEST. ------------------------------------------------------------------------ [2018-07-04 08:59:55] nospam at tils dot org I have one machine: OpenSuSE Tumbleweed with 20180626 php 5.6.31 The other machine is a docker container with Ubuntu 16.04.4 LTS and php 7.2.7 The output of ini_get('date.timezone') on the (working) 5.6 installation is "UTC", on the (broken) 7.2 installation is "". If I add an ini_set('date.timezone', 'UTC') the 7.2 also shows the same problem. I start the very same script inside the docker container by php-cli and outside in the host system. So yes, they are the same. ------------------------------------------------------------------------ [2018-07-04 08:51:03] requinix@php.net I can't figure out how to reproduce this. Are you running that exact script? Unchanged? Are you doing anything else with timezones? Do you have the date.timezone setting something other than UTC? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=76576 -- Edit this bug report at https://bugs.php.net/bug.php?id=76576&edit=1

« previous php.bugs (#233482) next »