()
| 869 | |
| 870 | #[test] |
| 871 | fn test_format_timestamp() { |
| 872 | let ts = Utc.with_ymd_and_hms(2024, 1, 15, 10, 30, 45).unwrap(); |
| 873 | let formatted = format_timestamp(&ts); |
| 874 | assert!(formatted.contains("2024")); |
| 875 | assert!(formatted.contains("01")); |
| 876 | assert!(formatted.contains("15")); |
| 877 | } |
| 878 | |
| 879 | #[test] |
| 880 | fn test_format_timestamp_relative_just_now() { |
nothing calls this directly
no test coverage detected