-
-
Notifications
You must be signed in to change notification settings - Fork 310
date columns should be provided as DateTime instead of String. #845
Copy link
Copy link
Open
Labels
blockedThis issue is blocked by another issueThis issue is blocked by another issueenhancementNew feature or requestNew feature or requestplannedThis issue is planned and should not be automatically closed due to being stale.This issue is planned and should not be automatically closed due to being stale.postgrestThis issue or pull request is related to postgrestThis issue or pull request is related to postgrest
Description
Activity
Metadata
Metadata
Assignees
Labels
blockedThis issue is blocked by another issueThis issue is blocked by another issueenhancementNew feature or requestNew feature or requestplannedThis issue is planned and should not be automatically closed due to being stale.This issue is planned and should not be automatically closed due to being stale.postgrestThis issue or pull request is related to postgrestThis 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
datevalue 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
datevalue 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.