def with_reset
import cswap-bend-cli@0.1.0.0/usage/norm.bend as Normimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/clock.bend as Clock
57def with_reset(j: Json.Json, r: Maybe<&2, String>, +now: U32, +off: U32) -> Json.Json:
58 match r:
59 case None{}:
60 j
61 case Some{+s}:
62 with_reset.at(j, s, Clock.parse_iso8601(s), now, off)