def Wall.rfc3339

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

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

98# "YYYY-MM-DDTHH:MM:SSZ" (metav1.Time).
99def Wall.rfc3339(w: Wall) -> String:
100  match w:
101    case Wall{d, +s, us}:
102      Time.date(Time.civil(d)) ++ "T" ++ Time.clock(s) ++ "Z"

Uses (6)

Used by (0)

No other definition uses this definition.