Skip to content

Can't handle Date datatype #74

Description

@HiqMustin

Hi
There is and issue when SQL datatype i Date where the SqlDataReader is returning a DateTime .Net datatype and thus the json result will be of the format "2026-03-11T00:00:00". The expected result from SQL query would be 2026-03-11. I suspect the same would apply for SQL Time datatype.

This causes for unnecessary processing of the result.

The task needs to handle this and add explicit use of .Net DateOnly (and TimeOnly) to get the correct value in case SQL datatype is Date (or Time).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions