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

24-hour clock & seconds display #1

Open
Twilight0 opened this issue Feb 17, 2022 · 2 comments
Open

24-hour clock & seconds display #1

Twilight0 opened this issue Feb 17, 2022 · 2 comments

Comments

@Twilight0
Copy link

Twilight0 commented Feb 17, 2022

I 'd like the capability to have the clock in 24-hour format and even seconds diplay. If possible add option to change.

@Twilight0 Twilight0 changed the title 24-hour clock 24-hour clock & seconds display Feb 17, 2022
@pcolamar
Copy link

pcolamar commented May 16, 2022

Hi Twiligt0,
I had the same problem. While your request gets implemented by tirtharajsinha you can quickly patch the code yourself
Go to
~/.local/share/cinnamon/desklets/clocket@tirtha

Open the file desklet.js and search for the line :

this._time.set_text(this.clock.get_clock_for_format("%0l:%0M"));

change it in

this._time.set_text(this.clock.get_clock_for_format("%0H:%0M"));

save and restart cinnamon.
enjoy

@Twilight0
Copy link
Author

@pcolamar That's exactly what I did. Thanks for the idea.

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

2 participants