Working with Dates, Time, Timezones in GraphQL and PostgreSQL
Dates and timezones are one of the most commonly used data types in building modern apps. GraphQL comes with default scalar types like Int, Float, String, Boolean and ID. But dates and times have to be defined as custom scalars like Date or timestamp etc. In this post, we will look at the various data/time types available through Postgres and exposed via GraphQL by Hasura. All the types are…
This is an excerpt. The full article continues at Hasura.