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.
- Update issue Github Issue 6
- Added support for timezones. User can now specify a timezone as input. I.e.
America/New_York
orEurope/Zurich
. If local date and time is required then leave thetimezone
option out of the config.
- Added option to remove date.
- Added option provide Date Format
- If Date is not required to keep the look and feel minimal just set showDate option to false.
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