Skip to content

mumblebaj/MMM-SweepClock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMM-SweepClock

A MagicMirror² module to display a clasic Railway Clock based on the code written by manuelmeister.

Platform license

Support

If you like my module you can support my work by giving me a star ir buy me a coffee.

Updates

v1.1.4

v1.1.3

v1.1.2

  • Added support for timezones. User can now specify a timezone as input. I.e. America/New_York or Europe/Zurich. If local date and time is required then leave the timezone option out of the config.

V1.1.0

  • 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.

Buy Me A Beer

Example Example Example

Installation

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:

Sample without timezone

  {
	module: "MMM-SweepClock",
	position: "top_left",
    config: {
              showDate: false,
              dateFormat: "dddd, LLL"
            }
  },

Sample with timezone

  {
	module: "MMM-SweepClock",
	position: "top_left",
    config: {
              showDate: true, // set to true or false to show date
              dateFormat: "dddd, LLL",
              timezone: "America/New_York"
            }
  },

Updating

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

Releases

No releases published

Packages

No packages published