Is the DateFormat read only?
Bernd.Niggemann at uni-wh.de
Sun Jan 31 12:27:56 EST 2021
Alex Tweedly via use-livecode<https://email@example.com&q=from:%22Alex+Tweedly+via+use%5C-livecode%22> Sat, 07 Nov 2020 07:29:15 -0800<https://firstname.lastname@example.org&q=date:20201107>
I tested out the TimeZone library with a couple of randomly chosen timezones - and they all came back incorrect (i.e. unchanged from UTC even though the timezones should have been different). I know that if you pass in a timezone that is not in the local machine's database, it will silently return the UTC value - but that's not the case here.
I've now looked at it more closely - some of these timezones give the right answer, some give the wrong answer - though they are all in the TimeZones() list.
After you mentioned the problems with the timezone library I had a look and it turns out that some of the timezones on the TimeZones() list are deprecated and they resolve to UTZ.
I forgot to post that I bug reported the problem in case anyone runs into it.
More information about the use-livecode