date
columns should be provided as DateTime
instead of String
.
#845
Labels
blocked
This issue is blocked by another issue
enhancement
New feature or request
postgrest
This issue or pull request is related to postgrest
Is your feature request related to a problem? Please describe.
Currently, if I have a table with a column of type
date
, when I query for the data, the runtime type of the data isString
.For instance, for a
date
value of2024-02-25
, I receive the string"2024-25-02"
.Describe the solution you'd like
Instead, we should receive
DateTime
.For instance, for a
date
value of2024-02-25
, I should receive the objectDateTime(2024, 02, 25)
.Describe alternatives you've considered
The alternative is to do nothing and let the consumer parse the date. This is how we have to do currently.
The text was updated successfully, but these errors were encountered: