Skip to content

Commit 29259f9

Browse files
authored
Merge pull request #85 from GlareDB/from-value-naive-time
Implement FromValue for chrono NaiveTime
2 parents ad8b8e5 + cdfc3b5 commit 29259f9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/value/convert/chrono.rs

+5
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ impl FromValue for NaiveDate {
2525
type Intermediate = ParseIr<NaiveDate>;
2626
}
2727

28+
#[cfg_attr(docsrs, doc(cfg(feature = "chrono")))]
29+
impl FromValue for NaiveTime {
30+
type Intermediate = ParseIr<NaiveTime>;
31+
}
32+
2833
#[cfg_attr(docsrs, doc(cfg(feature = "chrono")))]
2934
impl FromValue for NaiveDateTime {
3035
type Intermediate = ParseIr<NaiveDateTime>;

0 commit comments

Comments
 (0)