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

Information loss using timezone offset #532

Open
emileindik opened this issue Aug 29, 2023 · 0 comments
Open

Information loss using timezone offset #532

emileindik opened this issue Aug 29, 2023 · 0 comments

Comments

@emileindik
Copy link

After parsing an input, we receive the timezone offset number.
Is there a way to receive the IANA, timezone name, or abbreviated timezone name that was found in the input?

For an input like 9pm EST I receive the timezone offset of -240. However, there are many IANA's that could fit that offset:

America/New_York
America/Montreal
America/Nassau
America/Port_of_Spain
...

The use case is that I'd like to reformat the input to a different arbitrary format. Like 9pm EST to 21:00 EST for example.

Thanks for this wonderful package!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants