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

Any integration planned with the emacs built-in world-clock #2

Open
jayrajput opened this issue Jan 22, 2022 · 4 comments
Open

Any integration planned with the emacs built-in world-clock #2

jayrajput opened this issue Jan 22, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@jayrajput
Copy link

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
@md-arif-shaikh md-arif-shaikh added the enhancement New feature or request label Jan 23, 2022
@md-arif-shaikh
Copy link
Owner

md-arif-shaikh commented Jan 23, 2022

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-list variable supports two kinds of lists zoneinfo-style-world-list and legacy-style-world-list. This package uses the first one with the difference that it uses the timezone only and not the label. Basically tzc-favourite-time-zones is equivalent to (mapcar #'car zoneinfo-style-world-list). Thus if you use zoneinfo-style-world-list and want to use that for the tzc package then you can do (setq tzc-favourite-time-zones (mapcar #'car zoneinfo-style-world-list))
  • The equivalent of wclock buffer in tzc is to call tzc-convert-current-time-to-favourite-time-zones and 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.

@md-arif-shaikh
Copy link
Owner

md-arif-shaikh commented Jan 23, 2022

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)

@jayrajput
Copy link
Author

Great. Thanks. Looking forward to the changes.

@md-arif-shaikh
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants