1
0
mirror of https://github.com/bspeice/dtparse synced 2025-07-03 14:54:57 -04:00
This commit is contained in:
2020-06-11 12:49:55 -04:00
parent af6c3238c4
commit a08bb2d9d7
3 changed files with 32 additions and 3 deletions

View File

@ -3348,6 +3348,33 @@ fn test_parse_ignoretz6() {
#[test]
fn test_parse_ignoretz7() {
let info = ParserInfo::default();
let pdt = PyDateTime {
year: 1986,
month: 7,
day: 5,
hour: 8,
minute: 15,
second: 30,
micros: 0,
tzo: None,
};
parse_and_assert(
pdt,
info,
"1986-07-05T08:15:30z",
None,
None,
false,
false,
None,
true,
&HashMap::new(),
);
}
#[test]
fn test_parse_ignoretz8() {
let info = ParserInfo::default();
let pdt = PyDateTime {
year: 1995,