Skip to content

Commit f2cba67

Browse files
committed
done
1 parent 0bc4127 commit f2cba67

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ extern crate postgres_protocol;
77
extern crate postgres_shared;
88
extern crate time;
99
extern crate chrono;
10-
use chrono::prelude::*;
11-
use chrono::DateTime;
10+
use chrono::{DateTime, TimeZone};
1211

1312
use std::cmp::Ordering;
1413
use std::fmt;
@@ -159,8 +158,9 @@ impl Normalizable for Timespec {
159158
}
160159
}
161160

162-
impl Normalizable for DateTime<Utc> {
163-
fn normalize<S>(bound: RangeBound<S, DateTime<Utc>>) -> RangeBound<S, DateTime<Utc>>
161+
impl<T> Normalizable for DateTime<T>
162+
where T: TimeZone {
163+
fn normalize<S>(bound: RangeBound<S, DateTime<T>>) -> RangeBound<S, DateTime<T>>
164164
where
165165
S: BoundSided,
166166
{

0 commit comments

Comments
 (0)