Format.Format.show_off: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/format.bend as Format Lines 88-99 of bend-time-lib@0.4.0.1/format.bend: https://jend.leeeet.dev/read.txt?path=bend-time-lib@0.4.0.1/format.bend&start_line=88&end_line=99 import Base import bend-time-lib@0.4.0.1/datetime.bend as DT def Format.show_off(offset: DT.UtcOffset) -> String: match offset: case DT.OffsetZero{}: "Z" case DT.OffsetEast{h, mi}: String.append( "+", String.append(Format.pad2(h), String.append(":", Format.pad2(mi))) ) case DT.OffsetWest{h, mi}: String.append( "-", String.append(Format.pad2(h), String.append(":", Format.pad2(mi))) ) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/datetime.bend&name=UtcOffset https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/format.bend&name=Format.pad2