Is the DateFormat read only?

Niggemann, Bernd Bernd.Niggemann at uni-wh.de
Sun Jan 31 12:27:56 EST 2021


Alex Tweedly via use-livecode<https://www.mail-archive.com/search?l=use-livecode@lists.runrev.com&q=from:%22Alex+Tweedly+via+use%5C-livecode%22> Sat, 07 Nov 2020 07:29:15 -0800<https://www.mail-archive.com/search?l=use-livecode@lists.runrev.com&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.


Alex,

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.

https://quality.livecode.com/show_bug.cgi?id=23012

Kind regards
Bernd





More information about the use-livecode mailing list