diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c index f827bfdb..e06a7239 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -1326,7 +1326,7 @@ write_header(FILE * fp, int ifuseanony) // FIXME unused } save_title[72] = '\0'; - fprintf(fp, "標題: %s\n時間: %s\n", save_title, ctime(&now)); + fprintf(fp, "標題: %s\n時間: %s\n", save_title, ctime4(&now)); } void @@ -2506,7 +2506,7 @@ vedit(char *fpath, int saveheader, int *islocal) /* log_file("etc/illegal_money", LOG_CREAT | LOG_VF, "\033[1;33;46m%s \033[37;45m 用機器人發表文章 \033[37m %s\033[m\n", - cuser.userid, ctime(&now)); + cuser.userid, ctime4(&now)); post_violatelaw(cuser.userid, "Ptt系統警察", "用機器人發表文章", "強制離站"); abort_bbs(0); |