We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70f92c0 commit d88b699Copy full SHA for d88b699
1 file changed
dateparser/src/lib.rs
@@ -626,8 +626,10 @@ mod tests {
626
.unwrap()
627
.trunc_subsecs(0)
628
.with_second(0)
629
+ .unwrap()
630
+ .with_minute(0)
631
.unwrap(),
- want.trunc_subsecs(0).with_second(0).unwrap(),
632
+ want.trunc_subsecs(0).with_second(0).unwrap().with_minute(0).unwrap(),
633
"parse_in_local/{}/{}",
634
test,
635
input
@@ -828,8 +830,10 @@ mod tests {
828
830
829
831
832
833
834
835
836
837
"parse_with_timezone_in_utc/{}/{}",
838
839
0 commit comments