# Replace \`lazy_static\!\` with \`OnceLock\` in \`time_format\` crate \(\#8648\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/7f5aa1fca67c7112729bf809a20b89aa2c1767a4)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 7f5aa1fca67c7112729bf809a20b89aa2c1767a4

Requested commit: 7f5aa1fca67c7112729bf809a20b89aa2c1767a4

Commit: 7f5aa1fca67c7112729bf809a20b89aa2c1767a4

Tree: d9478f747f23d7109c1de1313ceec24eeaa27ae5

Author: Marshall Bowers

Committer: GitHub

## Message

```
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
```

## Parents

- [0d0ce95eaebf4e708caec8211b06f2a12ccc4c7e](https://git.cafe/gitcafe/zed/commit/0d0ce95eaebf4e708caec8211b06f2a12ccc4c7e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/7f5aa1fca67c7112729bf809a20b89aa2c1767a4?format=markdown)
