def Time.clock

bend-kube-runtime@0.2.0.0 · src/time.bend:67

import bend-kube-runtime@0.2.0.0/src/time.bend as Time
import Base

67def Time.clock(+secs: U32) -> String:
68  Time.pad((secs / 3600 : U32), 2n) ++ ":" ++ Time.pad(((secs / 60) % 60 : U32), 2n) ++ ":"
69    ++ Time.pad((secs % 60 : U32), 2n)

Uses (6)

Used by (3)