Commit 54c0696a authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Total timeon stats in days/hours/min format instead just massive minutes.

parent ee625d39
Pipeline #2962 failed with stage
in 9 minutes and 54 seconds
......@@ -1480,7 +1480,7 @@ void __fastcall TMainForm::StatsTimerTick(TObject *Sender)
StatsForm->TotalLogons->Caption=AnsiString(stats.logons);
StatsForm->LogonsToday->Caption=AnsiString(stats.ltoday);
StatsForm->TotalTimeOn->Caption=AnsiString(stats.timeon);
StatsForm->TotalTimeOn->Caption=AnsiString(minutes_to_str(stats.timeon, str, sizeof(str)));
StatsForm->TimeToday->Caption=AnsiString(stats.ttoday);
StatsForm->TotalEMail->Caption=AnsiString(getmail(&cfg,0,0,0));
StatsForm->EMailToday->Caption=AnsiString(stats.etoday);
......
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