Skip to main content

format_offset

Function format_offset 

Source
pub fn format_offset(offset_seconds: i32) -> String
Expand description

Formats an offset as Cypher’s canonical text: Z for UTC, else [+-]HH:MM (extended with :SS only when the offset has a non-zero seconds component – real offsets are almost always whole minutes, but the TCK’s timezone grep found at least one -02:05:07 example).