Skip to content

Commit

Permalink
Update time docs to reflect new chrono feature flag name
Browse files Browse the repository at this point in the history
Changes `chrono` -> `chrono-04` to reflect the new name for the feature flag.
  • Loading branch information
willshiao authored Nov 13, 2024
1 parent 27ce6b5 commit 8da5db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/data-types/time.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ while let Some((value,)) = iter.try_next().await? {

## chrono::NaiveTime

If `chrono` feature is enabled, [`chrono::NaiveTime`](https://docs.rs/chrono/0.4/chrono/naive/struct.NaiveDate.html)
If `chrono-04` feature is enabled, [`chrono::NaiveTime`](https://docs.rs/chrono/0.4/chrono/naive/struct.NaiveDate.html)
can be used to interact with the database. Although chrono can represent leap seconds, they are not supported.
Attempts to convert [`chrono::NaiveTime`](https://docs.rs/chrono/0.4/chrono/naive/struct.NaiveDate.html) with leap
second to `CqlTime` or write it to the database will return an error.
Expand Down

0 comments on commit 8da5db8

Please sign in to comment.