()
| 715 | |
| 716 | #[test] |
| 717 | fn test_format_timestamp() { |
| 718 | let ts = Utc.with_ymd_and_hms(2024, 1, 15, 10, 30, 45).unwrap(); |
| 719 | let formatted = format_timestamp(&ts); |
| 720 | assert!(formatted.contains("2024")); |
| 721 | assert!(formatted.contains("01")); |
| 722 | assert!(formatted.contains("15")); |
| 723 | } |
| 724 | |
| 725 | #[test] |
| 726 | fn test_format_timestamp_relative_just_now() { |
nothing calls this directly
no test coverage detected