summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-11 22:39:53 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-11 22:39:53 +0800
commit539bfe465e5b956eb0dbcf77b4d340b340f22173 (patch)
treea6105f51b31b35157f99d7e201937ef2f47229e6
parentd58276a51f2f550027d27e10105d00391c805ad9 (diff)
downloadpttbbs-539bfe465e5b956eb0dbcf77b4d340b340f22173.tar
pttbbs-539bfe465e5b956eb0dbcf77b4d340b340f22173.tar.gz
pttbbs-539bfe465e5b956eb0dbcf77b4d340b340f22173.tar.bz2
pttbbs-539bfe465e5b956eb0dbcf77b4d340b340f22173.tar.lz
pttbbs-539bfe465e5b956eb0dbcf77b4d340b340f22173.tar.xz
pttbbs-539bfe465e5b956eb0dbcf77b4d340b340f22173.tar.zst
pttbbs-539bfe465e5b956eb0dbcf77b4d340b340f22173.zip
change ctime to ctime4
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2493 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/edit.c4
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);