moment / luxon

⏱ A library for working with dates and times in JS
https://moment.github.io/luxon
MIT License
15.05k stars 728 forks source link

Why luxon and graphql doesn't parse `TIMESTAMPTZ` postgresql datatype when using DateTime type? #1544

Closed dev-ST-IA closed 7 months ago

dev-ST-IA commented 7 months ago

An SQL field of TIMESTAMPTZ type is failing to parse when using DateTime type in graphql by importing luxon. Please advise what would be the reason. Following was the error I received, { reason: "unparsable", explanation: "the input \"Thu Nov 23 2023 17:07:02 GMT+0530 (India Standard Time)\" can't be parsed as SQL", }