Skip to main content

local_clock

Function local_clock 

Source
pub fn local_clock(instant: &str) -> Option<String>
Expand description

An RFC-3339 instant the CLI wrote, as the reader’s own wall clock: HH:MM:SS for today’s, the date too for anything older, because a turn read from a transcript can be weeks old and a bare time would read as today. None for a string that does not parse, so a malformed row draws no clock rather than a fabricated one.