jiff::fmt::strtime::format

Function write_offset

Source
fn write_offset<W: Write>(
    offset: Offset,
    colon: bool,
    wtr: &mut W,
) -> Result<(), Error>
Expand description

Writes the given time zone offset to the writer.

When colon is true, the hour, minute and optional second components are delimited by a colon. Otherwise, no delimiter is used.