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

verify the time.Now behavior with mongo client #9

Open
xmonader opened this issue Nov 7, 2024 · 0 comments
Open

verify the time.Now behavior with mongo client #9

xmonader opened this issue Nov 7, 2024 · 0 comments
Milestone

Comments

@xmonader
Copy link
Contributor

xmonader commented Nov 7, 2024

Bson decoder converts this to and from UTC by default while dealing with the DB. It just works as it is.

I don't see where the time.Local is set to time.UTC and afaik mongo uses time.Local. Please verify and even if that's the case, be more explicit about it

Originally posted by @xmonader in #4 (comment)

@xmonader xmonader added this to the 0.2.x milestone Nov 7, 2024
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

No branches or pull requests

1 participant