mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +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:
@ -128,7 +128,7 @@ pg_strftime(char *s, size_t maxsize, const char *format,
|
||||
int warn;
|
||||
|
||||
warn = IN_NONE;
|
||||
p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn);
|
||||
p = _fmt(format, t, s, s + maxsize, &warn);
|
||||
if (p == s + maxsize)
|
||||
return 0;
|
||||
*p = '\0';
|
||||
|
Reference in New Issue
Block a user