Commit 8b46e4b7 authored by deuce's avatar deuce
Browse files

Use time32str()

parent 6263d2b8
...@@ -71,9 +71,9 @@ void sbbs_t::fileinfo(file_t* f) ...@@ -71,9 +71,9 @@ void sbbs_t::fileinfo(file_t* f)
bprintf(text[FiDescription],f->desc); bprintf(text[FiDescription],f->desc);
bprintf(text[FiUploadedBy],f->misc&FM_ANON ? text[UNKNOWN_USER] : f->uler); bprintf(text[FiUploadedBy],f->misc&FM_ANON ? text[UNKNOWN_USER] : f->uler);
if(f->date) if(f->date)
bprintf(text[FiFileDate],timestr(&f->date)); bprintf(text[FiFileDate],time32str(&f->date));
bprintf(text[FiDateUled],timestr(&f->dateuled)); bprintf(text[FiDateUled],time32str(&f->dateuled));
bprintf(text[FiDateDled],f->datedled ? timestr(&f->datedled) : "Never"); bprintf(text[FiDateDled],f->datedled ? time32str(&f->datedled) : "Never");
bprintf(text[FiTimesDled],f->timesdled); bprintf(text[FiTimesDled],f->timesdled);
if(f->size!=-1L) if(f->size!=-1L)
bprintf(text[FiTransferTime],sectostr(f->timetodl,tmp)); bprintf(text[FiTransferTime],sectostr(f->timetodl,tmp));
......
...@@ -221,7 +221,7 @@ char sbbs_t::handle_ctrlkey(char ch, long mode) ...@@ -221,7 +221,7 @@ char sbbs_t::handle_ctrlkey(char ch, long mode)
SAVELINE; SAVELINE;
attr(LIGHTGRAY); attr(LIGHTGRAY);
now=time(NULL); now=time(NULL);
bprintf(text[TiLogon],timestr(&logontime)); bprintf(text[TiLogon],time32str(&logontime));
bprintf(text[TiNow],timestr(&now)); bprintf(text[TiNow],timestr(&now));
bprintf(text[TiTimeon] bprintf(text[TiTimeon]
,sectostr(now-logontime,tmp)); ,sectostr(now-logontime,tmp));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment