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

Avoiding return DateTime.Kind=Unspecified when converting from DateTimeOffset to DateTime (issues 378, 384 and others) #1033

Open
wants to merge 1 commit into
base: release-8.x
Choose a base branch
from

Commits on Aug 29, 2023

  1. Avoiding return DateTime.Kind=Unspecified when converting from DateTi…

    …meOffset to DateTime
    
    With this modification we would avoid getting a DateTime value (derived from a conversion from a DateTimeOffset value) that has Kind=Unspecified.
    The problem is mainly evident when passing Dates as parameters of the ODATA $filter option.
    With this change the conversion will aways return an UTC datetime when it is originated from a DateTimeOffset value.
    darkeagle76 authored Aug 29, 2023
    Configuration menu
    Copy the full SHA
    2a98d3d View commit details
    Browse the repository at this point in the history