()
| 892 | |
| 893 | #[test] |
| 894 | fn test_format_timestamp_relative_hours() { |
| 895 | let ts = Utc::now() - chrono::Duration::hours(3); |
| 896 | let formatted = format_timestamp_relative(&ts); |
| 897 | assert!(formatted.contains("hours ago")); |
| 898 | } |
| 899 | |
| 900 | #[test] |
| 901 | fn test_format_timestamp_relative_yesterday() { |
nothing calls this directly
no test coverage detected