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

Remove seconds display #4

Open
triumphantomato opened this issue Jul 13, 2023 · 0 comments
Open

Remove seconds display #4

triumphantomato opened this issue Jul 13, 2023 · 0 comments

Comments

@triumphantomato
Copy link

Love this extension, thank you for creating it!

On the time display, can we have an option to hide seconds?

In /index.js the line that needs to change is:

//$.time.textContent = `${td(now.getHours())}.${td(now.getMinutes())}.${td(now.getSeconds())}`;
  $.time.textContent = `${td(now.getHours())}.${td(now.getMinutes())}`;
  

Not sure how to expose this as an option in the extension.

If you have a way for me to make this change locally and have it work that would be helpful too, thank you!

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