-
Notifications
You must be signed in to change notification settings - Fork 1
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
Invalid conversion: tzc-convert-time EDT 23:00 => IST 23:00, which is wrong. #4
Comments
Hi, thanks for reaching out. (tzc-convert-time "23:00" "America/New_york" "Asia/Kolkata") you will get the correct result. This has the advantage that it takes care of daylight saving. if you frequently need to convert time between two zones, you may want to set up your favourite time zones following this https://github.com/md-arif-shaikh/tzc#customization and then call |
Ah, thanks, good to know. I wonder if the code could detect the unsupported timezone abbreviations and issue a user-error when those are passed. |
Hi,
I just downloaded this package and tried to convert between EDT (Easter Daylight Time) 23:00 to IST (India Standard Time) and the result was that they are equal, which is wrong.
Tested on Emacs 27.1
Here's a IELM session:
Trying EST (Eastern Standard Time) did not work either:
23:00 EDT is 08:30 IST.
The text was updated successfully, but these errors were encountered: