Skip to main content

format_time

Function format_time 

Source
pub fn format_time(us: i64) -> String
Expand description

v7.17.0 Phase 3.P0-32 — PG TIME canonical text form HH:MM:SS[.ffffff]. Mirrors PG time_out. Trailing zeros in the fractional component are stripped — 12:00:00.500000 renders as 12:00:00.5 to match PG’s text output.