Is the DateFormat read only?

Niggemann, Bernd Bernd.Niggemann at
Sun Jan 31 12:27:56 EST 2021

Alex Tweedly via use-livecode<> Sat, 07 Nov 2020 07:29:15 -0800<>

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.

Kind regards

More information about the use-livecode mailing list