Expand description
Display formatting helpers for truncation and timestamps.
Functionsยง
- format_
timestamp - Format a Unix timestamp as
"2024-01-15 10:30 UTC". - format_
timestamp_ detailed - Format a Unix timestamp as
"Jan 15, 2024 10:30:00"(detailed, no timezone label). - truncate_
str - Truncate a string to
prefixleading chars +...+suffixtrailing chars.