@mumblebaj Works perfectly! Thanks for your time!
I also tried but could not make this work, but edited the default MM clock to contain sweep seconds.
@mumblebaj Works perfectly! Thanks for your time!
I also tried but could not make this work, but edited the default MM clock to contain sweep seconds.
@sdetweil I tried but not working, I think something is missing.
Anyways, I am just using the default analog clock for now. Thanks for all help. I may try it sometime later.
@sdetweil It is working but only showing the svg image of the clock face without hour/minute hands.
I think the time elements are not called using moment.js
The script uses new Date() to get the time. how to tell scipt.js to use moment.js call to get the time instead
@sdetweil ok thank you very much
will go through them and try to build the module
@sdetweil Thanks for the info.
I have problems adding index.html to getDom() wrapper, how to add all elements correctly
The syntax is different I suppose from html
I just started html and js, so don’t know much about this languages.
The code for animated clock is here: https://github.com/manuelmeister/Swiss-Railway-Clock
This is the awesome Swiss railway clock found in all Swiss railway stations. Please let me know if there is an easy way to create a module out of this to display the clockface with sweeping seconds hand.
It looks like this: http://sbb.meister.io/