tzc
tzc copied to clipboard
Any integration planned with the emacs built-in world-clock
Thanks for a nice package. I was looking for something like that. Btw, I am from Bengaluru as well. I work as a software developer and continuously used worldtimebuddy.com to schedule meeting across timezones.
Are there any integrations/improvement planned with the emacs inbuilt world-clock? There are two things which I can think of:
- Use world-clock-list variable
- Improve the wclock buffer to have keys (n,p) to see next hour or previous hour.
- Allow date/time input using org style (similar) org-time-stamp function
Hi @jayrajput, thanks for submitting this issue and nice to meet you. These suggestions are really nice and would be great to have these features in the package.
- I see that the
world-clock-listvariable supports two kinds of listszoneinfo-style-world-listandlegacy-style-world-list. This package uses the first one with the difference that it uses thetimezoneonly and not thelabel. Basicallytzc-favourite-time-zonesis equivalent to(mapcar #'car zoneinfo-style-world-list). Thus if you usezoneinfo-style-world-listand want to use that for thetzcpackage then you can do(setq tzc-favourite-time-zones (mapcar #'car zoneinfo-style-world-list)) - The equivalent of
wclockbuffer intzcis to calltzc-convert-current-time-to-favourite-time-zonesand it seems a good suggestion to add feature to show the results for next/previous hours. I will work on this and see what could be done. - This is definitely doable and would be added in time I hope.
Also any contribution to add these features would be welcome.
you can now use zoneinfo-style-world-list as the tzc-favourite-time-zones-alist. (setq tzc-favourite-time-zones-alist zoneinfo-style-world-list)
Great. Thanks. Looking forward to the changes.
Hey @jayrajput, I have now added tzc-world-clock that creates a buffer with information equivalent to wclock but with the next or previous keymap as requested. Please try and let me know if it works for you. I will look into the third one in next weekend probably.