pub fn format_unix_timestamp(unix_timestamp: i64, pattern: &str) -> StringExpand description
Formats a Unix timestamp using Python-like strftime tokens.
Supported tokens:
%Yyear with century (e.g.2026)%mmonth as zero-padded decimal (01..12)%dday of month as zero-padded decimal (01..31)%Hhour (24-hour clock) as zero-padded decimal (00..23)%Ihour (12-hour clock) as zero-padded decimal (01..12)%Mminute as zero-padded decimal (00..59)%Ssecond as zero-padded decimal (00..59)%plocale-independentAM/PM%%literal%