forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2def455
committed
Still another try at matching system timezone nicely. On non-Windows
machines, break tie scores by preferring shorter zone names over longer;for names of equal length, prefer the alphabetically first name. Thisyields for example 'EST5EDT' not 'America/New_York' for US eastern time.On Windows, abandon the whole concept of inspecting the detailed behaviorof the system TZ library, because it doesn't bear inspection :-(. Insteaduse a hardwired mapping table to select our zone name based on theresult of strftime %Z output. Windows code from Magnus Hagander.1 parenta052cd4 commit2def455
1 file changed
+260
-56
lines changed0 commit comments
Comments
(0)