Compare commits
18
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9ea37e56f0
|
||
|
|
6e91320709
|
||
|
|
7736f79649
|
||
|
|
1eb659d865
|
||
|
|
3ea92ae64e
|
||
|
|
0e8e0db284
|
||
|
|
720f3d8f75
|
||
|
|
7e5bc016b1
|
||
|
|
384dd41690
|
||
|
|
f246676203
|
||
|
|
47e6c85fc7
|
||
|
|
82370ad63a
|
||
|
|
e5ab4aa426
|
||
|
|
ad632fca16
|
||
|
|
86febdab0d
|
||
|
|
7534e8652f
|
||
|
|
c4b2c19f77
|
||
|
|
890d03bdf3
|
+1
-1
@@ -54,7 +54,7 @@ mod util {
|
|||||||
pub fn time_to_std_time(
|
pub fn time_to_std_time(
|
||||||
provided_time: &time::OffsetDateTime,
|
provided_time: &time::OffsetDateTime,
|
||||||
) -> Result<std::time::SystemTime, std::time::SystemTimeError> {
|
) -> Result<std::time::SystemTime, std::time::SystemTimeError> {
|
||||||
let converted: std::time::SystemTime = (*provided_time).into();
|
let converted: std::time::SystemTime = provided_time.clone().into();
|
||||||
Ok(converted)
|
Ok(converted)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user