upd
This commit is contained in:
parent
b46f99ed60
commit
a3bddeb876
2
main.go
2
main.go
@ -113,7 +113,7 @@ func statusHandler(w http.ResponseWriter, r *http.Request) {
|
||||
milliseconds := int(duration.Milliseconds()) % 1000
|
||||
nanoseconds := int(duration.Nanoseconds()) % 1000000
|
||||
|
||||
status := fmt.Sprintf("OpenBSD uptime: %d:%d:%d:%d:%d:%d:%d:%d\nTimestamp: %d",
|
||||
status := fmt.Sprintf("OpenBSD created: %d:%d:%d:%d:%d:%d:%d:%d\nTimestamp: %d",
|
||||
years, months, weeks, hours, minutes, seconds, milliseconds, nanoseconds,
|
||||
now.Unix())
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user