fix time formatting
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
func Print(c *collectors.StatusInfo) {
|
||||
fmt.Printf(
|
||||
"LOAD: %.2f %.2f %.2f | %d-%d-%d %d:%d\n",
|
||||
"LOAD: %.2f %.2f %.2f | %d-%02d-%02d %02d:%02d\n",
|
||||
c.CPULoad1,
|
||||
c.CPULoad5,
|
||||
c.CPULoad15,
|
||||
|
||||
Reference in New Issue
Block a user