()
| 906 | |
| 907 | #[test] |
| 908 | fn test_format_timestamp_relative_days() { |
| 909 | let ts = Utc::now() - chrono::Duration::days(3); |
| 910 | let formatted = format_timestamp_relative(&ts); |
| 911 | assert!(formatted.contains("days ago")); |
| 912 | } |
| 913 | |
| 914 | #[test] |
| 915 | fn test_format_timestamp_relative_weeks() { |
nothing calls this directly
no test coverage detected