Обсуждение: Re: [pgsql-hackers-win32] Weird new time zone

Поиск
Список
Период
Сортировка

Re: [pgsql-hackers-win32] Weird new time zone

От
"Zeugswetter Andreas SB SD"
Дата:
> > DEBUG:  TZ "Antarctica/McMurdo" scores 2534: at -442152000
> 1955-12-28 12:00:00 std versus 1955-12-29 00:00:00 std
> > DEBUG:  TZ "Antarctica/South_Pole" scores 2534: at
> -442152000 1955-12-28 12:00:00 std versus 1955-12-29 00:00:00 std
> > DEBUG:  TZ "Pacific/Auckland" gets max score 2600
> > DEBUG:  TZ "NZ" gets max score 2600
>
> and it picks Pacific/Auckland.
>
> Also I'm a bit nervous about that hardcoded 2004 start date for the scan
> in pgtz.c -- that will presumably break if the timezone data files are
> updated for post-2004 changes without a corresponding change to the scan

Yes, how about scanning forward iff it is still a breakeven ?

Andreas