From 3010f46d2a42a43d369c0601c1a92f6e9a1405bf Mon Sep 17 00:00:00 2001 From: Bryan Henderson Date: Fri, 25 Oct 1996 06:00:49 +0000 Subject: [PATCH] E Use EUROPEAN_DATES from config.h instead of -D option --- src/backend/parser/sysfunc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.40.0