summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/innbbsd/receive_article.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pttbbs/innbbsd/receive_article.c b/pttbbs/innbbsd/receive_article.c
index 1ece1c51..90325748 100644
--- a/pttbbs/innbbsd/receive_article.c
+++ b/pttbbs/innbbsd/receive_article.c
@@ -377,6 +377,8 @@ receive_article()
*/
if (strptime(DATE, "%d %b %Y %X ", &tmbuf) != NULL)
datevalue = timegm(&tmbuf);
+ else if (strptime(DATE, "%a, %d %b %Y %X %z", &tmbuf) != NULL)
+ datevalue = timegm(&tmbuf);
else if (strptime(DATE, "%a, %d %b %Y %X ", &tmbuf) != NULL)
datevalue = timegm(&tmbuf);
else