def hm

cswap-bend-cli@0.1.0.0 · tui/fmt.bend:63

import cswap-bend-cli@0.1.0.0/tui/fmt.bend as Fmt
import Base

63def hm(+s: U32) -> String:
64  sel.s(U32.is_eq(((s % 3600) / 60 : U32), 0), U32.show((s / 3600 : U32)) ++ "h",
65    U32.show((s / 3600 : U32)) ++ "h " ++ U32.show(((s % 3600) / 60 : U32)) ++ "m")

Uses (8)

Used by (1)