summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-30 16:06:40 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-30 16:06:40 +0800
commit167a997af62b12fac966cf89d53bbe7ebaa27f81 (patch)
tree55def6e2aeedecf7cb7685d38d5906a77acd3fd1 /mbbsd/user.c
parent04b785848b45f4c40155bc9f1f67533fd56f7c0b (diff)
downloadpttbbs-167a997af62b12fac966cf89d53bbe7ebaa27f81.tar
pttbbs-167a997af62b12fac966cf89d53bbe7ebaa27f81.tar.gz
pttbbs-167a997af62b12fac966cf89d53bbe7ebaa27f81.tar.bz2
pttbbs-167a997af62b12fac966cf89d53bbe7ebaa27f81.tar.lz
pttbbs-167a997af62b12fac966cf89d53bbe7ebaa27f81.tar.xz
pttbbs-167a997af62b12fac966cf89d53bbe7ebaa27f81.tar.zst
pttbbs-167a997af62b12fac966cf89d53bbe7ebaa27f81.zip
- read: add 'search for "s"' in G search
- user: print reg date in userinfo. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4043 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 4893d406..cbbcd96b 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -169,7 +169,8 @@ user_display(const userec_t * u, int adminmode)
prints(" 小 天 使: %s\n",
u->myangel[0] ? u->myangel : "無");
#endif
- prints(" 註冊日期: %s", ctime4(&u->firstlogin));
+ prints(" 註冊日期: %s (已滿%d天)",
+ ctime4(&u->firstlogin), (now-u->firstlogin)/86400);
prints(" 前次光臨: %s", ctime4(&u->lastlogin));
prints(" 上站文章: %d 次 / %d 篇\n",
u->numlogins, u->numposts);