dashy
dashy copied to clipboard
[BUG] Widget: clock Issue: Not displaying 24 hour clock
Environment
Self-Hosted (Docker)
System
Debian 5.18.2-1 (2022-06-06) x86_64 GNU/Linux, Docker Engine v24.0.2, Docker Compose v2.18.1, Firefox 114.0
Version
Dashy V-2.1.1
Describe the problem
My conf.yml contains the following snippet:
- name: Time
icon: far fa-clock
widgets:
- type: clock
options:
timeZone: America/Edmonton
format: en-CA
use12Hour: false
hideDate: false
I expected the time to be displayed in 24 hour format, but instead I get the time with AM/PM displayed:
Additional info
My Dashy log file shows no other issues (apart from linking to a locally accessible logo file):
$ docker compose logs
dashy | yarn run v1.22.15
dashy | $ node server
dashy |
dashy | Checking config file against schema...
dashy |
dashy | ββββββββββββββββββββββββββββββββββββββββββ
dashy | Warning: 1 issue found in config file
dashy | ββββββββββββββββββββββββββββββββββββββββββ
dashy | 1. /pageInfo/logo must match pattern "^(http|/)(.*?)"
dashy |
dashy | SSL Not Enabled: Public key not present
dashy |
dashy |
dashy | βββββββ ββββββ βββββββββββ ββββββ βββ
dashy | βββββββββββββββββββββββββββ βββββββ ββββ
dashy | βββ βββββββββββββββββββββββββββ βββββββ
dashy | βββ βββββββββββββββββββββββββββ βββββ
dashy | βββββββββββ ββββββββββββββ βββ βββ
dashy | βββββββ βββ ββββββββββββββ βββ βββ
dashy |
dashy | *******************************************************************************************
dashy | Welcome to Dashy! π
dashy | Your new dashboard is now up and running with Docker
dashy | *******************************************************************************************
dashy |
dashy |
dashy | Using Dashy V-2.1.1. Update Check Complete
dashy | β
Dashy is Up-to-Date
dashy |
Thank you!
Please tick the boxes
- [X] You have explained the issue clearly, and included all relevant info
- [X] You are using a supported version of Dashy
- [X] You've checked that this issue hasn't already been raised
- [X] You've checked the docs and troubleshooting guide
- [X] You agree to the code of conduct
If you're enjoying Dashy, consider dropping us a β
π€ I'm a bot, and this message was automated
Hi
That really is strange, could you try format: en-DE ? that replaces the time format with german in english, the timezone will still be edmonton.
That worked!
However, I would expect the use12Hour tag to override anything else. Odd, as you noted.
That worked!
However, I would expect the
use12Hourtag to override anything else. Odd, as you noted.
Greatπ Yeah, I also have no clue why dashy behaves like this. But I think for the moment this is the best solution.
This issue has gone 3 months without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days.
The use12hour flag is not working as intended.
This issue has gone 3 months without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days.
Still relevant