Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Timezone-aware datetime #647

Open
diorcety opened this issue Jan 16, 2025 · 0 comments
Open

Timezone-aware datetime #647

diorcety opened this issue Jan 16, 2025 · 0 comments
Labels
proposal Enhancement idea or proposal

Comments

@diorcety
Copy link
Contributor

Proposed change

Currently, the timestamp in the header extracted from reply is a timestamp without any timezone information. Is it recommanded to use timezone-aware object. The nats server sending the timestamp using UTC timezone we should use the following function: https://docs.python.org/3/library/datetime.html#datetime.datetime.fromtimestamp

Use case

Direct comptability with timezone away object

Contribution

No response

@diorcety diorcety added the proposal Enhancement idea or proposal label Jan 16, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
proposal Enhancement idea or proposal
Projects
None yet
Development

No branches or pull requests

1 participant