Avoid failing format test with current date (#10068)

Replace the test that tested with
`chrono::offset::Local::now().naive_local()` taken, failing the
formatting once per year at least.


Release Notes:

- N/A
c15b9d4e1cKirill Bulatov committed on 4/2/2024, 8:37:14 AM· committed by GitHubparent1da2441
1 file changedLine totals unavailable