mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
Sync our copy of the timezone library with IANA release tzcode2016g.
This is mostly to absorb some corner-case fixes in zic for year-2037 timestamps. The other changes that have been made are unlikely to affect our usage, but nonetheless we may as well take 'em.
This commit is contained in:
@ -1280,9 +1280,8 @@ gmtsub(pg_time_t const * timep, int32 offset, struct pg_tm * tmp)
|
||||
result = timesub(timep, offset, gmtptr, tmp);
|
||||
|
||||
/*
|
||||
* Could get fancy here and deliver something such as "UT+xxxx" or
|
||||
* "UT-xxxx" if offset is non-zero, but this is no time for a treasure
|
||||
* hunt.
|
||||
* Could get fancy here and deliver something such as "+xx" or "-xx" if
|
||||
* offset is non-zero, but this is no time for a treasure hunt.
|
||||
*/
|
||||
if (offset != 0)
|
||||
tmp->tm_zone = wildabbr;
|
||||
|
Reference in New Issue
Block a user