def Iso8601.show_period.p

bend-time-lib@0.4.0.1 · iso8601.bend:180

import bend-time-lib@0.4.0.1/iso8601.bend as Iso8601
import Base

180def Iso8601.show_period.p(body: String) -> String:
181  match body:
182    case SNil{}:
183      "P0D"
184    case SCon{_, _}:
185      String.append("P", body)

Uses (2)

Used by (1)