Closed GoogleCodeExporter closed 8 years ago
Could be related to Bug #615806 in pytz: “Missing Time Zone
Europe/Bratistava”?
https://bugs.launchpad.net/pytz/+bug/615806
Original comment by ris.d...@gmail.com
on 29 Nov 2010 at 7:23
The latest release pytz 2010o does recognize the timezone 'Europe/Bratislava'.
If running feedvalidator.py just update the local pytz installation to the
latest version from http://pypi.python.org/pypi/pytz
The transitfeed windows binary will include the new pytz version in the next
release.
Original comment by n...@google.com
on 30 Nov 2010 at 8:26
I can fix this if you don't mind. I think it should check against
pytz.all_timezones, not only pytz.common_timezones.
Original comment by jiri.semecky
on 21 Apr 2011 at 10:49
all_timezones would also contain deprecated or historical timezones.
I would prefer a failover solution where we check in all_timezones if the
timezone ist not found in common_timezones. In this case we should issue a
warning indicating that the timezones should be changed if possible.
If you like to do that, I would be happy.
Original comment by n...@google.com
on 21 Apr 2011 at 11:40
Well in my mind Europe/Bratislava is perfectly valid for feeds in Slovakia, it
is not deprecated nor historical in this sense.
Original comment by ales.pe...@gmail.com
on 21 Apr 2011 at 12:01
I'm not sure if this is behavior is correct. The GTFS specification refers to
http://en.wikipedia.org/wiki/List_of_tz_zones as "a list of valid values".
IMO, we should not emit a warning if the feed contains a timezone from this
list.
Original comment by jiri.semecky
on 21 Apr 2011 at 12:04
yes in this case thats perfectly true. But there might be other cases which we
would like to find. As Bratislava is already in common_timezones in the newer
pytz releases this would not be a warning for very long.
Original comment by n...@google.com
on 21 Apr 2011 at 12:04
Sounds good to me, closing the issue, then.
Original comment by jiri.semecky
on 21 Apr 2011 at 12:18
Just double checking the issue. Feedvalidator now emits ERROR for
Europe/Bratislava TZ, if it would be emmiting a WARNING, I can live with it for
a while of course.
Original comment by ales.pe...@gmail.com
on 22 Apr 2011 at 9:22
Original comment by bdfer...@google.com
on 26 Sep 2014 at 4:45
Original issue reported on code.google.com by
ris.d...@gmail.com
on 29 Nov 2010 at 7:22