mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-24 23:10:54 +00:00
format the uptime >.>
This commit is contained in:
parent
976a2593eb
commit
3ad59fb47e
2 changed files with 9 additions and 9 deletions
|
@ -14,7 +14,7 @@ type StatsData struct {
|
||||||
StatsDataVersion int
|
StatsDataVersion int
|
||||||
|
|
||||||
StartTime time.Time
|
StartTime time.Time
|
||||||
Uptime time.Duration
|
Uptime string
|
||||||
BuildTime string
|
BuildTime string
|
||||||
BuildHash string
|
BuildHash string
|
||||||
|
|
||||||
|
@ -120,7 +120,7 @@ func updatePeriodicStats() {
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
Statistics.Uptime = nowUpdate.Sub(Statistics.StartTime)
|
Statistics.Uptime = nowUpdate.Sub(Statistics.StartTime).String()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue