A MagicMirror² module to display a clasic Railway Clock based on the code written by manuelmeister.
If you like my module you can support my work by giving me a star ir buy me a coffee.
America/New_York
or Europe/Zurich
. If local date and time is required then leave the timezone
option out of the config.
In your terminal, go to your MagicMirror's Module folder:
cd ~/MagicMirror/modules
Clone this repository:
git clone https://github.com/mumblebaj/MMM-SweepClock.git
Add the module to the modules array in the config/config.js
file:
{
module: "MMM-SweepClock",
position: "top_left",
config: {
showDate: false,
dateFormat: "dddd, LLL"
}
},
{
module: "MMM-SweepClock",
position: "top_left",
config: {
showDate: true, // set to true or false to show date
dateFormat: "dddd, LLL",
timezone: "America/New_York"
}
},
To update the module to the latest version, use your terminal to go to your MMM-SweepClock module folder and type the following command:
cd ~/MagicMirror/modules/MMM-SweepClock/
git pull