We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We have hit an issue recently using this library where an iso date was not recognised as valid as it wasnt in one of the 3 formats defined here:
https://github.com/graphql-compose/graphql-compose/blob/master/src/type/date.ts#L7-L9
The format we used was "yyyy-MM-ddTHH:mm:ss.SSSSSS"
Generally speaking we are wondering whether it would be possible to extend to include more date formats?
One idea could be to try and create a Date instance out of the string and see if its accepted to avoid having to list all the possible formats.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We have hit an issue recently using this library where an iso date was not recognised as valid as it wasnt in one of the 3 formats defined here:
https://github.com/graphql-compose/graphql-compose/blob/master/src/type/date.ts#L7-L9
The format we used was "yyyy-MM-ddTHH:mm:ss.SSSSSS"
Generally speaking we are wondering whether it would be possible to extend to include more date formats?
One idea could be to try and create a Date instance out of the string and see if its accepted to avoid having to list all the possible formats.
The text was updated successfully, but these errors were encountered: