diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-10-19 18:55:52 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-10-19 18:56:01 -0400 |
commit | bc59c1236fb6db77b5c4426be3bb5b1a934ae2a7 (patch) | |
tree | d18f4167695c8b58b834a916b50b58b373bb7bc1 /src/timezone/strftime.c | |
parent | 9cfe353c51a8c077802c9d3ef5b4e2eb493bf46c (diff) | |
download | postgresql-bc59c1236fb6db77b5c4426be3bb5b1a934ae2a7.tar.gz postgresql-bc59c1236fb6db77b5c4426be3bb5b1a934ae2a7.zip |
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.
Diffstat (limited to 'src/timezone/strftime.c')
-rw-r--r-- | src/timezone/strftime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timezone/strftime.c b/src/timezone/strftime.c index 56306193213..4a0a01db651 100644 --- a/src/timezone/strftime.c +++ b/src/timezone/strftime.c @@ -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'; |