From: Bryan Henderson Date: Fri, 25 Oct 1996 06:00:49 +0000 (+0000) Subject: E Use EUROPEAN_DATES from config.h instead of -D option X-Git-Tag: REL2_0~372 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3010f46d2a42a43d369c0601c1a92f6e9a1405bf;p=postgresql E Use EUROPEAN_DATES from config.h instead of -D option --- diff --git a/src/backend/parser/sysfunc.c b/src/backend/parser/sysfunc.c index 5cc1935b7b..7d58582ff8 100644 --- a/src/backend/parser/sysfunc.c +++ b/src/backend/parser/sysfunc.c @@ -18,6 +18,8 @@ #include #include +#include + /* * Can't get much more obvious than this. Might need to replace localtime() * on older systems... @@ -30,7 +32,7 @@ char *Sysfunc_system_date(void) time(&cur_time_secs); cur_time_expanded = localtime(&cur_time_secs); -#if defined(EUROPEAN_DATES) || defined(EUROPEAN_STYLE) +#if defined(EUROPEAN_DATES) sprintf(buf, "%02.2d-%02.2d-%04.4d", cur_time_expanded->tm_mday, cur_time_expanded->tm_mon+1, cur_time_expanded->tm_year+1900); #else