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

Package is converting input UTC times before saving to database #105

Open
NA-Dev opened this issue May 22, 2019 · 0 comments
Open

Package is converting input UTC times before saving to database #105

NA-Dev opened this issue May 22, 2019 · 0 comments

Comments

@NA-Dev
Copy link

NA-Dev commented May 22, 2019

graphql-iso-date version 3.6.1
graphql version 14.3.0

I input a UTC time string in graphql as "14:30:00Z", and it is returned correctly as "14:30:00.000Z", but in the mysql database the time is stored a few hours off according to my system timezone (10:30:00). Mysql is set to use UTC, so I am not sure why this is happening.

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

1 participant