(timestamp: TimestampMs, timezone: Option<&str>)
| 221 | } |
| 222 | |
| 223 | pub(crate) fn format_date(timestamp: TimestampMs, timezone: Option<&str>) -> String { |
| 224 | format_date_tz(timestamp, parse_tz(timezone).as_ref()) |
| 225 | } |
| 226 | |
| 227 | pub(crate) fn format_date_tz(timestamp: TimestampMs, timezone: Option<&JiffTimeZone>) -> String { |
| 228 | let Ok(timestamp) = JiffTimestamp::from_millisecond(timestamp.as_millis()) else { |
no test coverage detected