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 discrepancy: pg module query result differs from database value #4

Closed
nunogoncalves03 opened this issue May 21, 2023 · 1 comment
Assignees
Labels
backend Issues related to the backend bug Something isn't working

Comments

@nunogoncalves03
Copy link
Member

When using the pg module in Node.js to query a resource with a date column, the retrieved date value is different from the expected value. For example, if the date column in the database has '2023-05-21' stored, the pg module query result is '2023-05-20T23:00:00.000Z'.

@nunogoncalves03 nunogoncalves03 added bug Something isn't working backend Issues related to the backend labels May 21, 2023
nunogoncalves03 added a commit that referenced this issue May 26, 2023
@nunogoncalves03
Copy link
Member Author

The issue has been resolved in the commit e374ceb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issues related to the backend bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants