()
| 726 | |
| 727 | #[test] |
| 728 | fn test_format_timestamp() { |
| 729 | let ts = Utc.with_ymd_and_hms(2024, 1, 15, 10, 30, 45).unwrap(); |
| 730 | let formatted = format_timestamp(&ts); |
| 731 | assert!(formatted.contains("2024")); |
| 732 | assert!(formatted.contains("01")); |
| 733 | assert!(formatted.contains("15")); |
| 734 | } |
| 735 | |
| 736 | #[test] |
| 737 | fn test_format_timestamp_relative_just_now() { |
nothing calls this directly
no test coverage detected