Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3010f46

Browse files
author
Bryan Henderson
committed
E Use EUROPEAN_DATES from config.h instead of -D option
1 parentf6f8ca4 commit3010f46

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/backend/parser/sysfunc.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
#include<string.h>
1919
#include<time.h>
2020

21+
#include<config.h>
22+
2123
/*
2224
* Can't get much more obvious than this. Might need to replace localtime()
2325
* on older systems...
@@ -30,7 +32,7 @@ char *Sysfunc_system_date(void)
3032

3133
time(&cur_time_secs);
3234
cur_time_expanded=localtime(&cur_time_secs);
33-
#if defined(EUROPEAN_DATES)|| defined(EUROPEAN_STYLE)
35+
#if defined(EUROPEAN_DATES)
3436
sprintf(buf,"%02.2d-%02.2d-%04.4d",cur_time_expanded->tm_mday,
3537
cur_time_expanded->tm_mon+1,cur_time_expanded->tm_year+1900);
3638
#else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp