graphql-iso-date icon indicating copy to clipboard operation
graphql-iso-date copied to clipboard

Package is converting input UTC times before saving to database

Open NA-Dev opened this issue 6 years ago • 0 comments

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.

NA-Dev avatar May 22 '19 16:05 NA-Dev