Skip to content

ArgumentOfRangeException when inserting objects with DateTime.MinValue #66

@ThomasHoest

Description

@ThomasHoest

It seems that the ReqlDateTimeConverter throws an exception when converting DateTime.MinValue. Seems converting non UTC results can result in this. Converting like this

dto = DateTime.SpecifyKind((DateTime)value,DateTimeKind.Utc);

prevents it, but wouldn't work for dates saved in local time. Digging deeper and perhaps i can come up with some more detail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions