"Magnus Hagander" <mha@sollentuna.net> writes:
> Per discussion off-list with Tom, here is a patch to redo the way the
> system timezone is detected on win32.
Applied, along with some marginal hacking on the non-Windows case.
I extended the search back to 1904, which should serve to eliminate
those pesky Antarctica zones, and also added a tie-breaking rule for
identical zones: prefer shorter names, or alphabetically earlier names
when they are the same length. We'll see how people like that ...
regards, tom lane