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