diff options
Diffstat (limited to 'innbbsd')
-rw-r--r-- | innbbsd/bbslib.c | 3 | ||||
-rw-r--r-- | innbbsd/echobbslib.c | 3 | ||||
-rw-r--r-- | innbbsd/receive_article.c | 2 |
3 files changed, 5 insertions, 3 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; } diff --git a/innbbsd/echobbslib.c b/innbbsd/echobbslib.c index 8eb7a99b..667c30ab 100644 --- a/innbbsd/echobbslib.c +++ b/innbbsd/echobbslib.c @@ -7,6 +7,7 @@ #include "innbbsconf.h" #include "bbslib.h" #endif +#include "config.h" char INNBBSCONF[MAXPATHLEN]; char INNDHOME[MAXPATHLEN]; @@ -573,7 +574,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; } diff --git a/innbbsd/receive_article.c b/innbbsd/receive_article.c index 02e1832b..c1d8c274 100644 --- a/innbbsd/receive_article.c +++ b/innbbsd/receive_article.c @@ -339,7 +339,7 @@ receive_article() { struct tm tmbuf; - strptime(DATE, "%d %b %Y %X GMT", &tmbuf); + strptime(DATE, "%d %b %Y %X ", &tmbuf); datevalue = timegm(&tmbuf); } |