Skip to main content

utc

Function utc 

Source
fn utc(ns: i64) -> String
Expand description

UTC, RFC 3339, to the second.

tui::stamp is local time, which is right on a terminal someone is sitting at and wrong in a document that gets pasted into a ticket and read from another timezone — where an unqualified 09:41 is a bug report about the wrong hour. gmtime_r for the same reason tui uses localtime_r: libc is already here and the calendar is the part a hand-rolled version gets wrong.