Bug #77582 [Opn]: strftime no longer prints correct timezone
| From: | requinix@php.net | Date: | Fri, 08 Feb 2019 04:31:31 +0000 |
| Subject: | Bug #77582 [Opn]: strftime no longer prints correct timezone | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-219420@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77582&edit=1
ID: 77582
Updated by: requinix@php.net
Reported by: jflambert at newtrax dot com
Summary: strftime no longer prints correct timezone
Status: Open
Type: Bug
Package: Date/time related
Operating System: Ubuntu 18.04
PHP Version: 7.3.2
-Assigned To:
+Assigned To: ondrej
Block user comment: N
Private report: N
New Comment:
Also working for me. I'm inclined to think the problem is on the PPA side...
Previous Comments:
------------------------------------------------------------------------
[2019-02-08 04:26:09] matt at hatchet dot com dot au
Ondrej PPA too. We ended up popping in Ubuntu disco repo temporarily, downgrading, holding the
packages, then removing the disco src. Now having issues with intl but that's probably due to a
package it relies on being upgraded. I was able to reproduce the issue on two separate Ubuntu 18.04
boxes using Ondrej PPA
------------------------------------------------------------------------
[2019-02-08 03:27:34] jflambert at newtrax dot com
Matt, thanks for confirming! Where does your PHP come form? Ondrej PPA? Or built from source?
------------------------------------------------------------------------
[2019-02-08 02:01:49] matt at hatchet dot com dot au
We're seeing the same issue on 7.3.2 and in process of downgrading to 7.3.1
Ubuntu 18.04.1
------------------------------------------------------------------------
[2019-02-08 01:51:23] jflambert at newtrax dot com
I reverted to 7.3.1, no problem. Upgrade to 7.3.2, problem starts again.
Pastebin otherwise flagged as SPAM
https://pastebin.com/2bNcXGHa
------------------------------------------------------------------------
[2019-02-08 01:22:47] jflambert at newtrax dot com
Which part of php -i would be relevant?
Is it possibly related to my PHP ppa (ondrej)?
Some more details:
php > echo ini_get('date.timezone');
America/New_York
php > echo date_default_timezone_get();
America/New_York
php > echo strftime('%F %T %z %Z');
2019-02-08 01:19:00 +0000 GMT
php > echo phpinfo();
....
date
date/time support => enabled
timelib version => 2018.01RC3
"Olson" Timezone Database Version => 0.system
Timezone Database => internal
Default timezone => America/New_York
Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => America/New_York => America/New_York
------------------------------------------------------------------------
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=77582
--
Edit this bug report at https://bugs.php.net/bug.php?id=77582&edit=1