File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -398,7 +398,7 @@ impl WrongType {
398
398
/// | `chrono::NaiveDate` | DATE |
399
399
/// | `chrono::NaiveTime` | TIME |
400
400
/// | `time::PrimitiveDateTime` | TIMESTAMP |
401
- /// | `time::OffsetDateTime` | TIMESTAMP, TIMESTAMP WITH TIME ZONE |
401
+ /// | `time::OffsetDateTime` | TIMESTAMP WITH TIME ZONE |
402
402
/// | `time::Date` | DATE |
403
403
/// | `time::Time` | TIME |
404
404
/// | `eui48::MacAddress` | MACADDR |
@@ -661,7 +661,7 @@ pub enum IsNull {
661
661
/// | `chrono::NaiveDate` | DATE |
662
662
/// | `chrono::NaiveTime` | TIME |
663
663
/// | `time::PrimitiveDateTime` | TIMESTAMP |
664
- /// | `time::OffsetDateTime` | TIMESTAMP, TIMESTAMP WITH TIME ZONE |
664
+ /// | `time::OffsetDateTime` | TIMESTAMP WITH TIME ZONE |
665
665
/// | `time::Date` | DATE |
666
666
/// | `time::Time` | TIME |
667
667
/// | `eui48::MacAddress` | MACADDR |
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ impl<'a> FromSql<'a> for OffsetDateTime {
40
40
Ok ( primitive. assume_utc ( ) )
41
41
}
42
42
43
- accepts ! ( TIMESTAMP , TIMESTAMPTZ ) ;
43
+ accepts ! ( TIMESTAMPTZ ) ;
44
44
}
45
45
46
46
impl ToSql for OffsetDateTime {
@@ -56,7 +56,7 @@ impl ToSql for OffsetDateTime {
56
56
primitive. to_sql ( type_, w)
57
57
}
58
58
59
- accepts ! ( TIMESTAMP , TIMESTAMPTZ ) ;
59
+ accepts ! ( TIMESTAMPTZ ) ;
60
60
to_sql_checked ! ( ) ;
61
61
}
62
62
You can’t perform that action at this time.
0 commit comments