[Bug 1734967] Re: tzdata info for WGT/WGST broken

Eric Desrochers eric.desrochers at canonical.com
Wed Nov 29 14:05:45 UTC 2017


I'll set this bug as affecting php package, since this tzdata change is
modifying the behaviour of php timezone.

## REPRODUCER ##

ubuntu at trusty:~# sudo ln -sf /usr/share/zoneinfo/America/Godthab
/etc/localtime

ubuntu at trusty:~# reboot

ubuntu at trusty:~# ls -altr /etc/localtime 
lrwxrwxrwx 1 root root 35 Nov 29 10:34 /etc/localtime -> /usr/share/zoneinfo/America/Godthab

ubuntu at trusty:~# date
Wed Nov 29 11:01:30 -03 2017

ubuntu at trusty:~# php /tmp/php_tz.php
America/Sao_Paulo 


#/tmp/php_tz.php :

<?php
$script_tz = date_default_timezone_get();

echo $script_tz;
?>

- Eric


** Also affects: php5 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: php7.0 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to tzdata in Ubuntu.
https://bugs.launchpad.net/bugs/1734967

Title:
  tzdata info for WGT/WGST broken

Status in php5 package in Ubuntu:
  New
Status in php7.0 package in Ubuntu:
  New
Status in tzdata package in Ubuntu:
  Invalid

Bug description:
  Using "America/Godthab" timezone, "WGT/WGST" is no longer displayed
  from date command but instead just "-03". Problem is evident in PHP
  applications too, which now think we're in Sao Paolo.

  This appears to have changed with latest tzdata update or perhaps in
  combination with change from DST.

  Same problem on 16.04, 17.10 and Debian 9.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1734967/+subscriptions



More information about the foundations-bugs mailing list