()
| 745 | |
| 746 | #[test] |
| 747 | fn test_format_timestamp() { |
| 748 | let ts = Utc.with_ymd_and_hms(2024, 1, 15, 10, 30, 45).unwrap(); |
| 749 | let formatted = format_timestamp(&ts); |
| 750 | assert!(formatted.contains("2024")); |
| 751 | assert!(formatted.contains("01")); |
| 752 | assert!(formatted.contains("15")); |
| 753 | } |
| 754 | |
| 755 | #[test] |
| 756 | fn test_format_timestamp_relative_just_now() { |
nothing calls this directly
no test coverage detected