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