We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6f8ca4 commit 3010f46Copy full SHA for 3010f46
src/backend/parser/sysfunc.c
@@ -18,6 +18,8 @@
18
#include <string.h>
19
#include <time.h>
20
21
+#include <config.h>
22
+
23
/*
24
* Can't get much more obvious than this. Might need to replace localtime()
25
* on older systems...
@@ -30,7 +32,7 @@ char *Sysfunc_system_date(void)
30
32
31
33
time(&cur_time_secs);
34
cur_time_expanded = localtime(&cur_time_secs);
-#if defined(EUROPEAN_DATES) || defined(EUROPEAN_STYLE)
35
+#if defined(EUROPEAN_DATES)
36
sprintf(buf, "%02.2d-%02.2d-%04.4d", cur_time_expanded->tm_mday,
37
cur_time_expanded->tm_mon+1, cur_time_expanded->tm_year+1900);
38
#else
0 commit comments