mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-15 05:11:01 +08:00
update stats format
This commit is contained in:
@@ -18,6 +18,7 @@ func uptime() string {
|
||||
year, month, day, hour, min, sec := diff(startTime, now)
|
||||
|
||||
var y, m, d, h string
|
||||
|
||||
if year != 0 {
|
||||
y = fmt.Sprintf("%dY", year)
|
||||
}
|
||||
|
Reference in New Issue
Block a user