File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ while let Some((date_value,)) = iter.try_next().await? {
4242
4343## chrono::NaiveDate
4444
45- If full range is not required and ` chrono ` feature is enabled,
45+ If full range is not required and ` chrono-04 ` feature is enabled,
4646[ ` chrono::NaiveDate ` ] ( https://docs.rs/chrono/0.4/chrono/naive/struct.NaiveDate.html ) can be used.
4747[ ` chrono::NaiveDate ` ] ( https://docs.rs/chrono/0.4/chrono/naive/struct.NaiveDate.html ) supports dates from
4848-262145-01-01 to 262143-12-31.
@@ -78,7 +78,7 @@ while let Some((date_value,)) = iter.try_next().await? {
7878
7979## time::Date
8080
81- Alternatively, ` time ` feature can be used to enable support of
81+ Alternatively, the ` time-03 ` feature can be used to enable support of
8282[ ` time::Date ` ] ( https://docs.rs/time/0.3/time/struct.Date.html ) .
8383[ ` time::Date ` ] ( https://docs.rs/time/0.3/time/struct.Date.html ) 's value range depends on feature flags, see its
8484documentation to get more info.
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ while let Some((value,)) = iter.try_next().await? {
4242
4343## chrono::NaiveTime
4444
45- If ` chrono ` feature is enabled, [ ` chrono::NaiveTime ` ] ( https://docs.rs/chrono/0.4/chrono/naive/struct.NaiveDate.html )
45+ If the ` chrono-04 ` feature is enabled, [ ` chrono::NaiveTime ` ] ( https://docs.rs/chrono/0.4/chrono/naive/struct.NaiveDate.html )
4646can be used to interact with the database. Although chrono can represent leap seconds, they are not supported.
4747Attempts to convert [ ` chrono::NaiveTime ` ] ( https://docs.rs/chrono/0.4/chrono/naive/struct.NaiveDate.html ) with leap
4848second to ` CqlTime ` or write it to the database will return an error.
@@ -78,7 +78,7 @@ while let Some((time_value,)) = iter.try_next().await? {
7878
7979## time::Time
8080
81- If ` time ` feature is enabled, [ ` time::Time ` ] ( https://docs.rs/time/0.3/time/struct.Time.html ) can be used to interact
81+ If the ` time-03 ` feature is enabled, [ ` time::Time ` ] ( https://docs.rs/time/0.3/time/struct.Time.html ) can be used to interact
8282with the database.
8383
8484``` rust
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ while let Some((value,)) = iter.try_next().await? {
4343
4444## chrono::DateTime
4545
46- If full value range is not required, ` chrono ` feature can be used to enable support of
46+ If the full value range is not required, the ` chrono-04 ` feature can be used to enable support of
4747[ ` chrono::DateTime ` ] ( https://docs.rs/chrono/0.4/chrono/struct.DateTime.html ) . All values are expected to be converted
4848to UTC timezone explicitly, as [ timestamp] ( https://docs.scylladb.com/stable/cql/types.html#timestamps ) doesn't store
4949timezone information. Any precision finer than 1ms will be lost.
@@ -83,7 +83,7 @@ while let Some((timestamp_value,)) = iter.try_next().await? {
8383
8484## time::OffsetDateTime
8585
86- Alternatively, ` time ` feature can be used to enable support of
86+ Alternatively, the ` time-03 ` feature can be used to enable support of
8787[ ` time::OffsetDateTime ` ] ( https://docs.rs/time/0.3/time/struct.OffsetDateTime.html ) . As
8888[ timestamp] ( https://docs.scylladb.com/stable/cql/types.html#timestamps ) doesn't support timezone information, time will
8989be corrected to UTC and timezone info will be erased on write. On read, UTC timestamp is returned. Any precision finer
You can’t perform that action at this time.
0 commit comments