diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-05-05 21:29:38 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-05-05 21:29:38 +0800 |
commit | 05f8a1d5f8d6625e30dffcc26b70e6226ff2c025 (patch) | |
tree | 06827bf9f4e6b3f385b3205aaaf6a9e833bc4698 /innbbsd/bbslib.c | |
parent | 35a01c11296e1802e5f83467a9a11ce90290b89d (diff) | |
download | pttbbs-05f8a1d5f8d6625e30dffcc26b70e6226ff2c025.tar pttbbs-05f8a1d5f8d6625e30dffcc26b70e6226ff2c025.tar.gz pttbbs-05f8a1d5f8d6625e30dffcc26b70e6226ff2c025.tar.bz2 pttbbs-05f8a1d5f8d6625e30dffcc26b70e6226ff2c025.tar.lz pttbbs-05f8a1d5f8d6625e30dffcc26b70e6226ff2c025.tar.xz pttbbs-05f8a1d5f8d6625e30dffcc26b70e6226ff2c025.tar.zst pttbbs-05f8a1d5f8d6625e30dffcc26b70e6226ff2c025.zip |
add INNTIMEZONE
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1926 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; } |