1
0
mirror of https://github.com/bspeice/dtparse synced 2025-07-03 14:54:57 -04:00

Fix new tests not being date-neutral

This commit is contained in:
Bradlee Speice
2018-08-11 10:38:46 -04:00
parent 246b389ac9
commit b5fa1d89ef
3 changed files with 10 additions and 10 deletions

View File

@ -1442,7 +1442,7 @@ fn test_parse_offset5() {
hour: 10, minute: 0, second: 0,
micros: 0, tzo: Some(-10800),
};
parse_and_assert(pdt, info, "10:00:00 UTC+3", None, None, false, false,
parse_and_assert(pdt, info, "2018-08-10 10:00:00 UTC+3", None, None, false, false,
None, false, &HashMap::new());
}
@ -1454,7 +1454,7 @@ fn test_parse_offset6() {
hour: 15, minute: 36, second: 47,
micros: 0, tzo: Some(14400),
};
parse_and_assert(pdt, info, "03:36:47 PM GMT-4", None, None, false, false,
parse_and_assert(pdt, info, "2018-08-10 03:36:47 PM GMT-4", None, None, false, false,
None, false, &HashMap::new());
}
@ -1466,7 +1466,7 @@ fn test_parse_offset7() {
hour: 4, minute: 15, second: 0,
micros: 0, tzo: Some(7200),
};
parse_and_assert(pdt, info, "04:15:00 AM Z-02:00", None, None, false, false,
parse_and_assert(pdt, info, "2018-08-10 04:15:00 AM Z-02:00", None, None, false, false,
None, false, &HashMap::new());
}