diff options
Diffstat (limited to 'src/interfaces/ecpg/pgtypeslib/timestamp.c')
-rw-r--r-- | src/interfaces/ecpg/pgtypeslib/timestamp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/pgtypeslib/timestamp.c b/src/interfaces/ecpg/pgtypeslib/timestamp.c index 3db57ad3cb..8354e460d0 100644 --- a/src/interfaces/ecpg/pgtypeslib/timestamp.c +++ b/src/interfaces/ecpg/pgtypeslib/timestamp.c @@ -503,7 +503,7 @@ dttofmtasc_replace(timestamp * ts, date dDate, int dow, struct tm * tm, case 'G': { /* Keep compiler quiet - Don't use a literal format */ - const char *fmt = "%G"; + const char *fmt = "%G"; tm->tm_mon -= 1; i = strftime(q, *pstr_len, fmt, tm); @@ -689,7 +689,7 @@ dttofmtasc_replace(timestamp * ts, date dDate, int dow, struct tm * tm, case 'V': { /* Keep compiler quiet - Don't use a literal format */ - const char *fmt = "%V"; + const char *fmt = "%V"; i = strftime(q, *pstr_len, fmt, tm); if (i == 0) |