Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: minor error while running with duration #1388

Merged
merged 13 commits into from
Apr 6, 2023
4 changes: 2 additions & 2 deletions dozer-types/src/types/field.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl Field {
Field::Date(_) => 10,
Field::Bson(b) => b.len(),
Field::Point(_p) => 16,
Field::Duration(_) => 32,
Field::Duration(_) => 17,
Field::Null => 0,
}
}
Expand Down Expand Up @@ -217,7 +217,7 @@ impl Field {
Field::Date(_) => 11,
Field::Bson(_) => 12,
Field::Point(_) => 13,
Field::Duration(_) => 32,
Field::Duration(_) => 14,
Field::Null => 15,
}
}
Expand Down