America/Montreal timezone disappeared from ubuntu LTS precise tzdata

Bug #1245978 reported by Anthony on 2013-10-29
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
tzdata (Ubuntu)
Undecided
Unassigned

Bug Description

While searching in every possible package why I could not deploy few apps on a fresh ubuntu precise lts install,
it boiled down to this if I'm not mistaken. (could not find anywhere else where Montreal timezone was removed)

https://launchpadlibrarian.net/152837885/tzdata_2013d-0ubuntu0.12.04_2013g-0ubuntu0.12.04.diff.gz

Now I can understand that Toronto and Montreal share the same timezone, just like New York, but I believe it is very wrong to remove it, and even more to remove it from the LTS version because it affect many things up to php and will require most php ubuntu servers deployed in this province of 8 million people.. to update there config file, if they figure out that Montreal was taken.

America\Montreal is still on:
  php's page - http://php.net/manual/en/timezones.america.php
  the internet authority timezone database (as of 2013-10-25) - http://www.iana.org/time-zones
  and in default /usr/share/zoneinfo as well

LTS should equal not braking things such as this.

* It possibly also has effects during ubuntu installation because on my latest 2 installs within the last week, it auto-detected toronto instead of montreal like it usually does, but montreal was still in the list. Might be related.

....
1) Ubuntu 12.04.3 LTS
2) 2013g-0ubuntu0.12.04
3) America/Montreal to be a timezone php can list
4) Exceptions in apps using dates and dates calculation based on this timezone

Anthony (a-servedio) wrote :

Ok, I can confirm that tzdata is the one providing timezones to php.

Downgrading to earlier available version 2012e-0ubuntu0.12.04.1 does fix the issue.

Anthony (a-servedio) wrote :

In case someone wants a quick fix, here is how to downgrade tzdata:

# list versions
sudo apt-show-versions tzdata -a

# choose any version before 2013g*
sudo apt-get install tzdata=2012e-0ubuntu0.12.04.1

And here is how to lock that version so apt-get doesn't try to upgrade it

# open file that probably doesn't exist
sudo nano /etc/apt/preferences.d/tzdata

# and put the following in it, adjust the version to the downgraded one you used above, save & exit
Package: tzdata
Pin: version 2012e*
Pin-Priority: 1000

Anthony (a-servedio) wrote :

Now I can't install openjdk-7-jre because I kept tzdata back..

Do I have to start maintaining tzdata for myself? It would take less time than updating, testing & verifying every app and server that uses the string "America/Montreal".

And is here the right place for this issue?

Please...

Anthony (a-servedio) wrote :

closing because of my lack of understanding.
(replaced by question #239234 (https://answers.launchpad.net/ubuntu/+source/tzdata/+question/239234)

Changed in tzdata (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers