diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-05-16 19:30:16 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-05-16 19:30:16 +0800 |
commit | 280c2707ef087a032cd9a846f3fd9549e194fa19 (patch) | |
tree | d307be9b02e36ba3c132cdc73c33d04fb8eddf45 /innbbsd/bbslib.c | |
parent | 3d0fa7c79b4d5d08868f32f44052392d03638074 (diff) | |
download | pttbbs-280c2707ef087a032cd9a846f3fd9549e194fa19.tar pttbbs-280c2707ef087a032cd9a846f3fd9549e194fa19.tar.gz pttbbs-280c2707ef087a032cd9a846f3fd9549e194fa19.tar.bz2 pttbbs-280c2707ef087a032cd9a846f3fd9549e194fa19.tar.lz pttbbs-280c2707ef087a032cd9a846f3fd9549e194fa19.tar.xz pttbbs-280c2707ef087a032cd9a846f3fd9549e194fa19.tar.zst pttbbs-280c2707ef087a032cd9a846f3fd9549e194fa19.zip |
merge from trunk.
git-svn-id: http://opensvn.csie.org/pttbbs/branches/scw.angel@1995 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd/bbslib.c')
-rw-r--r-- | innbbsd/bbslib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/innbbsd/bbslib.c b/innbbsd/bbslib.c index d8ab6401..9436216e 100644 --- a/innbbsd/bbslib.c +++ b/innbbsd/bbslib.c @@ -7,6 +7,7 @@ #include "innbbsconf.h" #include "bbslib.h" #endif +#include "config.h" char INNBBSCONF[MAXPATHLEN]; char INNDHOME[MAXPATHLEN]; @@ -572,7 +573,7 @@ ascii_date(now) /* * time_t now; time(&now); */ - strftime(datebuf, sizeof(datebuf), "%d %b %Y %X GMT", gmtime(&now)); + strftime(datebuf, sizeof(datebuf), "%d %b %Y %X " INNTIMEZONE, gmtime(&now)); return datebuf; } |