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

Eric Desrochers eric.desrochers at canonical.com
Mon Dec 4 16:10:26 UTC 2017


The more I look into this the more I start to think it may not be a php bug as I first guess.
php is relying on tzdata package so it should follow what tzdata bundle has in hand.

I wonder if the change I mentioned in Comment#1 is valid and/or if it
has the appropriate informations for "America/Godthab", because for the
moment it seems to share similar value as southamerica locations
"America/Sao_Paulo" which I wonder if this could be the reason why it
conflicts. If it's not conflicting or something not well taken into
account.

Note that if I set the localtime to "America/Sao_Paulo", I don't see any conflict.
So it is really when "America/Godthab" is set and/or possibly other invented 'europe' abbreviation adjust in the same commit.

@Thomas,
At this stage, I would contact upstream ML (if any) or the author of the patch :
Paul Eggert <eggert at cs.ucla.edu>


----------------------
# filename: europe
Zone America/Godthab    -3:26:56 -      LMT     1916 Jul 28 # Nuuk
                        -3:00   -       -03     1980 Apr  6  2:00
                        -3:00   EU      -03/-02

# filename: southamerica
Zone America/Sao_Paulo  -3:06:28 -      LMT     1914
                        -3:00   Brazil  -03/-02 1963 Oct 23  0:00
                        -3:00   1:00    -02     1964
                        -3:00   Brazil  -03/-02

----------------------

# strings /usr/share/zoneinfo/America/Sao_Paulo 
<-03>3<-02>,M10.3.0/0,M2.3.0/0

# strings /usr/share/zoneinfo/America/Godthab 
<-03>3<-02>,M3.5.0/-2,M10.5.0/-1

----------------------

# ln -sf /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime

# date
Mon Dec  4 13:53:33 -02 2017

# php tz.php 
America/Sao_Paulo

-- 
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 php7.1 package in Ubuntu:
  New
Status in tzdata package in Ubuntu:
  Invalid
Status in php7.0 package in Debian:
  New

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