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

Feature request: When parsing a timestamp, set the time zone to the one given in the timestamp #182

Open
schaerfo opened this issue Oct 27, 2023 · 0 comments

Comments

@schaerfo
Copy link

E. g., the timestamp 2023-10-27T22:14:00+02:00 should be parsed with the time zone of the resulting TZDateTime object being set to UTC+2. This could likely be implemented as a new static method of TZDateTime that differs from the existing parse method in that it only takes a single argument (the timestamp as String).

This would probably require the introduction of "unnamed" time zones that consist only in an offset from UTC.

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