datetime
types silently drop timezone information on pydantic model serialization
#41
Labels
bug
Something isn't working
Pydantic seems to silently drop tz information. (pydantic/pydantic#9571.
This is rather annoying as the serialization behavior from the csharp generated classes correctly honors the timezone information.
Moving forward we should also just consider enforcing tz information via the
AwareDatetime
pydantic type (https://docs.pydantic.dev/2.0/usage/types/datetime/)The text was updated successfully, but these errors were encountered: