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? {
42
42
43
43
## chrono::NaiveDate
44
44
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,
46
46
[ ` chrono::NaiveDate ` ] ( https://docs.rs/chrono/0.4/chrono/naive/struct.NaiveDate.html ) can be used.
47
47
[ ` chrono::NaiveDate ` ] ( https://docs.rs/chrono/0.4/chrono/naive/struct.NaiveDate.html ) supports dates from
48
48
-262145-01-01 to 262143-12-31.
@@ -78,7 +78,7 @@ while let Some((date_value,)) = iter.try_next().await? {
78
78
79
79
## time::Date
80
80
81
- Alternatively, ` time ` feature can be used to enable support of
81
+ Alternatively, the ` time-03 ` feature can be used to enable support of
82
82
[ ` time::Date ` ] ( https://docs.rs/time/0.3/time/struct.Date.html ) .
83
83
[ ` time::Date ` ] ( https://docs.rs/time/0.3/time/struct.Date.html ) 's value range depends on feature flags, see its
84
84
documentation 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? {
42
42
43
43
## chrono::NaiveTime
44
44
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 )
46
46
can be used to interact with the database. Although chrono can represent leap seconds, they are not supported.
47
47
Attempts to convert [ ` chrono::NaiveTime ` ] ( https://docs.rs/chrono/0.4/chrono/naive/struct.NaiveDate.html ) with leap
48
48
second 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? {
78
78
79
79
## time::Time
80
80
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
82
82
with the database.
83
83
84
84
``` rust
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ while let Some((value,)) = iter.try_next().await? {
43
43
44
44
## chrono::DateTime
45
45
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
47
47
[ ` chrono::DateTime ` ] ( https://docs.rs/chrono/0.4/chrono/struct.DateTime.html ) . All values are expected to be converted
48
48
to UTC timezone explicitly, as [ timestamp] ( https://docs.scylladb.com/stable/cql/types.html#timestamps ) doesn't store
49
49
timezone information. Any precision finer than 1ms will be lost.
@@ -83,7 +83,7 @@ while let Some((timestamp_value,)) = iter.try_next().await? {
83
83
84
84
## time::OffsetDateTime
85
85
86
- Alternatively, ` time ` feature can be used to enable support of
86
+ Alternatively, the ` time-03 ` feature can be used to enable support of
87
87
[ ` time::OffsetDateTime ` ] ( https://docs.rs/time/0.3/time/struct.OffsetDateTime.html ) . As
88
88
[ timestamp] ( https://docs.scylladb.com/stable/cql/types.html#timestamps ) doesn't support timezone information, time will
89
89
be 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