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

[Pg] Fix all datetime mappings #1657

Closed

Conversation

Angelelz
Copy link
Collaborator

This PR will close #806, close #971, close #1113, close #1176, close #1185, close #1407 and close #1587.
Most are the same. The problem is pastgres.js, it didn't have a clear way of replace the default parsing into a Date object after the client have been instantiates.
I spent some time researching and found a solution.
Although it looks like postgres.js is still trimming the microsecond precision, even after bypassing the parsing.

I'll look into it further and possibly submit a new PR.

Added tests on all/most drivers that use postgres.

@Angelelz Angelelz marked this pull request as draft December 16, 2023 14:45
@Angelelz
Copy link
Collaborator Author

Still having problems with #1113

@Angelelz
Copy link
Collaborator Author

I'll close this PR and re-open it because I though #1113 was related to the rest but it has to be done on another PR.

@Angelelz Angelelz closed this Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment