You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PostgREST returns date & time types as a JSON string (and will continue to do so, since there's no native date/time type in JSON).
However, we can modify the JSON parsing such that date & time columns are returned as JS Date for ease of use.
This will require changes in:
the generated types, since we need to know which columns have a date/time type - currently they're generated as string which is indistinguishable from e.g. text columns
this client library, since we need to actually transform these columns to Date during JSON parsing
PostgREST returns date & time types as a JSON string (and will continue to do so, since there's no native date/time type in JSON).
However, we can modify the JSON parsing such that date & time columns are returned as JS
Date
for ease of use.This will require changes in:
string
which is indistinguishable from e.g.text
columnsDate
during JSON parsingRequested in:
The text was updated successfully, but these errors were encountered: