def Iso8601.show_period.p
import bend-time-lib@0.4.0.1/iso8601.bend as Iso8601import 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)