()
| 744 | |
| 745 | #[test] |
| 746 | fn test_format_timestamp_relative_hours() { |
| 747 | let ts = Utc::now() - chrono::Duration::hours(3); |
| 748 | let formatted = format_timestamp_relative(&ts); |
| 749 | assert!(formatted.contains("hours ago")); |
| 750 | } |
| 751 | |
| 752 | #[test] |
| 753 | fn test_format_timestamp_relative_yesterday() { |
nothing calls this directly
no test coverage detected