-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnknownTimeZoneError: '/UTC' #101
Comments
|
I reported this bug (?) upstream: https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/1899343 |
|
Is this still an issue? Because if it is I might just release a version that explicitly strips that infornation, but it's pretty silly to hack around a bug in a docker image config. :-) |
|
@regebro I can still reproduce the issue using the steps listed in the issue I made upstream : FROM ubuntu
RUN apt-get update && \
apt-get install -y tzdata |
|
An interesting question is what /etc/timezone is before the install of tzdata? I suspect it's non-existent, but perhaps not? The package install does read it, and there could be something going wrong there if it exists but with unexpected data... |
|
I added a workaround in 4.0.1. Annoying since this is a trivial bug in the Ubuntu config, but I have no idea how to contribute, it's very confusing. |
On the
ubuntuDocker image, the contents of/etc/timezoneis/UTC, which causes tzlocal to raise:Dockerfile that reproduces the issue
The text was updated successfully, but these errors were encountered: