kappapiana / transtimezone

Quickly translates times between timezones
Apache License 2.0
0 stars 1 forks source link

BST (British Summer Time) is not a recognised time zone #10

Open neilzone opened 1 year ago

neilzone commented 1 year ago

Setup

Latest version from Github.

Python 3.11.6

Debian 12 (testing)

What I would expect to happen

When I specify the timezone "BST" (e.g. python3 transtimezone.py 2023-10-25 10:00 -t BST), I would it expect to base results about the time in BST.

What actually happens

BST is not valid
kappapiana commented 1 year ago

BST is an ISO8601-2019 timezone definition as the summertime (DST) timezone for Europe/London IATA timezone, not in the tzdata set, which is based on IATA. Need to find a conversion table to add a translation between the two formats.