()
| 738 | |
| 739 | #[test] |
| 740 | fn test_format_timestamp_relative_hours() { |
| 741 | let ts = Utc::now() - chrono::Duration::hours(3); |
| 742 | let formatted = format_timestamp_relative(&ts); |
| 743 | assert!(formatted.contains("hours ago")); |
| 744 | } |
| 745 | |
| 746 | #[test] |
| 747 | fn test_format_timestamp_relative_yesterday() { |
nothing calls this directly
no test coverage detected