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

DbfReader throws error when trying to parse NULL Date fields #61

Open
kyleeinspahr opened this issue Nov 1, 2024 · 0 comments
Open

Comments

@kyleeinspahr
Copy link

When evaluating the DbfReader Enumerable of a shapefile that has a Date column with NULL values, it throws the following error:
The DateTime represented by the string '00000000' is not supported in calendar 'System.Globalization.GregorianCalendar'.

Before that, I examined the Fields collection and it even reports that the Value is null:
image

Here is a file that shows the issue
ShapefileWithNULLDate.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant