()
| 752 | |
| 753 | #[test] |
| 754 | fn test_format_timestamp_relative_days() { |
| 755 | let ts = Utc::now() - chrono::Duration::days(3); |
| 756 | let formatted = format_timestamp_relative(&ts); |
| 757 | assert!(formatted.contains("days ago")); |
| 758 | } |
| 759 | |
| 760 | #[test] |
| 761 | fn test_format_timestamp_relative_weeks() { |
nothing calls this directly
no test coverage detected