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

[BUG] Widget: clock Issue: Not displaying 24 hour clock #1224

Open
5 tasks done
instantdreams opened this issue Jun 13, 2023 · 10 comments
Open
5 tasks done

[BUG] Widget: clock Issue: Not displaying 24 hour clock #1224

instantdreams opened this issue Jun 13, 2023 · 10 comments
Assignees
Labels
👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending 🐛 Bug [ISSUE] Ticket describing something that isn't working

Comments

@instantdreams
Copy link

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:
image

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

@instantdreams instantdreams added the 🐛 Bug [ISSUE] Ticket describing something that isn't working label Jun 13, 2023
@liss-bot
Copy link
Collaborator

If you're enjoying Dashy, consider dropping us a ⭐
🤖 I'm a bot, and this message was automated

@CrazyWolf13
Copy link
Collaborator

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.

@liss-bot liss-bot added the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Jun 23, 2023
@instantdreams
Copy link
Author

That worked!
image

However, I would expect the use12Hour tag to override anything else. Odd, as you noted.

@CrazyWolf13
Copy link
Collaborator

That worked!
image

However, I would expect the use12Hour tag 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.

@liss-bot liss-bot removed the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Jun 24, 2023
@liss-bot

This comment was marked as duplicate.

@liss-bot liss-bot added the ⚰️ Stale [ISSUE] [PR] No activity for over 1 month label Sep 23, 2023
@instantdreams
Copy link
Author

The use12hour flag is not working as intended.

@liss-bot liss-bot added 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending and removed ⚰️ Stale [ISSUE] [PR] No activity for over 1 month labels Sep 23, 2023
@liss-bot

This comment was marked as duplicate.

@liss-bot liss-bot added the ⚰️ Stale [ISSUE] [PR] No activity for over 1 month label Dec 23, 2023
@github-project-automation github-project-automation bot moved this to Todo in Dashy V3 Dec 23, 2023
@CrazyWolf13

This comment was marked as duplicate.

@liss-bot liss-bot removed the ⚰️ Stale [ISSUE] [PR] No activity for over 1 month label Dec 23, 2023
@liss-bot liss-bot removed the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Feb 26, 2024
@liss-bot
Copy link
Collaborator

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.

@liss-bot liss-bot added the ⚰️ Stale [ISSUE] [PR] No activity for over 1 month label Feb 24, 2025
@CrazyWolf13 CrazyWolf13 removed the ⚰️ Stale [ISSUE] [PR] No activity for over 1 month label Feb 24, 2025
@instantdreams
Copy link
Author

The use12hour flag is not working as intended.

@liss-bot liss-bot added the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending 🐛 Bug [ISSUE] Ticket describing something that isn't working
Projects
Status: Awaiting Triage
Development

No branches or pull requests

4 participants