I need to know what the current TZID is for generating TZID in VTIMEZONE ical sub elements.
timezone.library returns a good deal of useful info, but as far as I can tell not this bit...
I can get the short 3 character timezone name but not the longer IANA name.
The info must at some level be availabe to the OS as the advanced TimeZonePrefs tab can set the TZ variable to this value.
Any ideas of the best way to get this info? Best this case for me is most OS friendly using API cals an not by parsing the Locale:TimeZone files direct...
This section of my project is mainly written in python, but I can make info available via the ARexx port of my main binary (AOrgansier - diary).
Tue, 2017-03-07 03:19
#1
How to determine current timezone name (in "Europe/London" format)