[Bug 1386206] Re: python-tz: Russia reintroduces daylight saving time

kodx 1386206 at bugs.launchpad.net
Fri Oct 31 10:17:53 UTC 2014


My mistake, as you can see there is no tzdata supplied with package, as
it is in pypi source archive (https://pypi.python.org/pypi/pytz/)

$ dpkg -L python3-tz 
/.
/usr
/usr/lib
/usr/lib/python3
/usr/lib/python3/dist-packages
/usr/lib/python3/dist-packages/pytz
/usr/lib/python3/dist-packages/pytz/__init__.py
/usr/lib/python3/dist-packages/pytz/exceptions.py
/usr/lib/python3/dist-packages/pytz/reference.py
/usr/lib/python3/dist-packages/pytz/tzinfo.py
/usr/lib/python3/dist-packages/pytz/tzfile.py
/usr/lib/python3/dist-packages/pytz-2012c.egg-info
/usr/lib/python3/dist-packages/pytz-2012c.egg-info/dependency_links.txt
/usr/lib/python3/dist-packages/pytz-2012c.egg-info/PKG-INFO
/usr/lib/python3/dist-packages/pytz-2012c.egg-info/zip-safe
/usr/lib/python3/dist-packages/pytz-2012c.egg-info/top_level.txt
/usr/share
/usr/share/doc
/usr/share/doc/python3-tz
/usr/share/doc/python3-tz/changelog.Debian.gz
/usr/share/doc/python3-tz/copyright

I hitted error with my local django installation, but error was not in
system package, sorry for that.

To find what utc offset for 'Europe/Moscow' run:

$ python3 -c "import pytz, datetime;
print(datetime.datetime.now(pytz.timezone('Europe/Moscow')).strftime('%z'))"

My output is:
+0300

It is correct.

I think you can close this bug.

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

Title:
  python-tz: Russia reintroduces daylight saving time

Status in “python-tz” package in Ubuntu:
  Incomplete

Bug description:
  Hi,

  On October 26 Russia moved to daylight saving time. We using python-tz
  package in 14.04.1, but it's still at version 2012c and doesn't
  includes recent timezone changes. Would you please update it to 2014.7
  version?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-tz/+bug/1386206/+subscriptions



More information about the foundations-bugs mailing list