Closed fcfangcc closed 2 years ago
the test is failed. but in python is ok
let d7 = Duration::new(false, 3, 0, 0); let d8 = Duration::new(false, 4, 0, 0); assert!(d7 > d8); assert!(d8 < d7);
In [3]: timedelta(days=-3) > timedelta(days=-4) Out[3]: True
good catch, fixing now.
the test is failed. but in python is ok