-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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] date.getHour inside html embed widget not working #1238
Comments
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. |
This issue was automatically closed because it has been stalled for over 6 weeks with no activity. |
No this is still a problem.... |
Heya @CrazyWolf13 I think this is a JS issue with the code you've got. I got it working with the below snippet. But since the code in your ticket got cut-off, I had to (try to) re-create it: https://jsfiddle.net/lissy93/djrcvyw8/ sections:
- name: CrazyWolf13 Timer Section
widgets:
- type: iframe
options:
url: https://t1m3.netlify.app Let me know if that helps :) |
Huge thanks for this ! I think the problem was that I used html embed instead of an iframe. Because with your js code the html embed is also not working. Got it working, huge thanks! ❤️ |
Environment
Self-Hosted (Docker)
System
RaspberryPi OS 32Bit
Version
2.1.1 (latest from docker)
Describe the problem
using this code below creates a wonderful time widget if opened via browser, but dashy does not display any digits, my guess that the date.getHour ... don't work.
The text was updated successfully, but these errors were encountered: