def offset.of
import cswap-bend-cli@0.1.0.0/usage.bend as Usageimport Base
import cswap-bend-cli@0.1.0.0/clock.bend as Clock
177# The local UTC offset, biased by 86400 (86400 = UTC when `date` is unusable).
178def offset.of(oe: String & String) -> U32:
179 (o, e) = oe
180 Maybe.default(&2, U32, Clock.tz(String.trim(o)), 86400)