aboutsummaryrefslogtreecommitdiff
path: root/src/timezone/strftime.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-10-19 18:55:52 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-10-19 18:55:52 -0400
commitf3094920a567cde6c86adf36a1a033d7431b11ff (patch)
tree8eade1521df56733d693a8e890bd521166f5c766 /src/timezone/strftime.c
parenta3215431ab7c667bf581728f10c80a36abbe1d5a (diff)
downloadpostgresql-f3094920a567cde6c86adf36a1a033d7431b11ff.tar.gz
postgresql-f3094920a567cde6c86adf36a1a033d7431b11ff.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.c2
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';