]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/call.go
Correctly show seconds
[nncp.git] / src / call.go
index 6fc6045d4371ce15144a9aea7579646b4586c319..a201825f82358777700b3af793a9f4905526debd 100644 (file)
@@ -110,7 +110,7 @@ func (ctx *Ctx) CallNode(
                                        node.Name,
                                        int(state.Duration.Hours()),
                                        int(state.Duration.Minutes()),
-                                       int(state.Duration.Seconds()),
+                                       int(state.Duration.Seconds()/60),
                                        humanize.IBytes(uint64(state.RxBytes)),
                                        humanize.IBytes(uint64(state.RxSpeed)),
                                        humanize.IBytes(uint64(state.TxBytes)),