Skip to content
New issue

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

date field: short response format #488

Merged
merged 4 commits into from
Oct 30, 2023
Merged

date field: short response format #488

merged 4 commits into from
Oct 30, 2023

Conversation

matej21
Copy link
Member

@matej21 matej21 commented Aug 31, 2023

Even if you use just a "date" format, the engine will respond with a iso datetime string. it is because node-pg automatically converts the date into Date object, which is later converted into a iso-string.

Now, you can set content.shortDateResponse to true to enable short response format.

Also, it will be a in default preset for 1.4.


This change is Reviewable

@matej21 matej21 merged commit 00b383b into master Oct 30, 2023
5 checks passed
@matej21 matej21 deleted the fix/date-column branch October 30, 2023 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant