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

Timezone information is being stripped in DateTimeField #223

Open
abhinand-c opened this issue Jul 21, 2023 · 1 comment
Open

Timezone information is being stripped in DateTimeField #223

abhinand-c opened this issue Jul 21, 2023 · 1 comment

Comments

@abhinand-c
Copy link
Contributor

UTC Datetime stored in MongoDB DateTime field, is being stripped by when auto resolving. Workaround seems to be defining custom resolver.

@erikwrede
Copy link
Member

Seems like we're using some non-standard datetime parser in Graphene: https://github.com/graphql-python/graphene/blob/master/graphene/types/datetime.py

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

2 participants