arttime
arttime copied to clipboard
24h clock styling
I'm from Germany and here the time is 24h based. Would love a future Feature, where you can toggle between the 12 and 24 hour system. (Maybe directly in the "set or reset timezone" menu)
That would be a good feature to have, will definitely add that, perhaps coming week if I get time.
@PrtmPhlp @cjk I have pushed the change in main branch. Pull and run install.sh again if you installed using method 2) or just copy paste and run the simple installer again (it automatically pulls main branch and merges) if you used install method 1). https://github.com/reportaman/arttime#installation
There are 2 changes in UI:
- A CLI new option --hours can be provided while invoking arttime with value 24 or 12 (default)*
- A new keybinding
f
is added to toggle between 12 and 24 hour formats. Pressingf
quickly toggles all times shown by arttime to one of the formats.
* I would recommend to set alias: alias arttime="arttime --hours 24"
for those who want 24 hours by default. In future arttime might parse user's locale to find whether they want 12 hour or 24 hour format if there is a compelling reason...
Thank you so much. Works great.