Replace `lazy_static!` with `OnceLock` in `time_format` crate (#8648)

This PR replaces a `lazy_static!` usage in the `time_format` crate with
`OnceLock` from the standard library.

This allows us to drop the `lazy_static` dependency from this crate.

Release Notes:

- N/A
7f5aa1fca6Marshall Bowers committed on 3/1/2024, 4:58:45 AM· committed by GitHubparent0d0ce95
3 files changedLine totals unavailable