summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/yearsold.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/yearsold.c b/util/yearsold.c
index 3124d778..e0aa5142 100644
--- a/util/yearsold.c
+++ b/util/yearsold.c
@@ -1,4 +1,4 @@
-/* $Id: yearsold.c,v 1.2 2002/06/06 21:34:15 in2 Exp $ */
+/* $Id: yearsold.c,v 1.3 2002/08/29 18:31:44 kcwu Exp $ */
/* 站上年齡統計 */
#include "bbs.h"
@@ -71,7 +71,7 @@ int main()
fprintf(fp, "\t\t\t  " BBSNAME
" 年齡統計 [%02d/%02d/%02d] \n\n",
- ptime->tm_year % 100, ptime->tm_mon, ptime->tm_mday);
+ ptime->tm_year % 100, ptime->tm_mon + 1, ptime->tm_mday);
for (i = MAX_LINE + 1; i > 0; i--)
{
strcpy(buf, " ");