Skip to content
A modified version of the default clock showing only the digital part. I wanted to be able to place it on another page of my MM2
JavaScript CSS
Branch: master
Clone or download
Latest commit 459dc42 Feb 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
MMM-DigClock.css made smaller Oct 7, 2018
MMM-DigClock.js Update MMM-DigClock.js Jan 25, 2019
README.md Update README.md Jan 25, 2019
Screenshot (27).png Add files via upload Jan 25, 2019
Screenshot (28).png Add files via upload Jan 25, 2019
Screenshot (29).png Add files via upload Jan 25, 2019
Screenshot (3).png Add files via upload Jan 19, 2019

README.md

Module: MMM-DigClock

The clock module is one of the default modules of the MagicMirror. This module is a variation only showing the Digital Clock. I made this because I wanted to be able to use the 'clock' module on separate pages of my Mirror. This module displays the current date, week, and time. The information will be updated realtime.

Screenshots

ScreenShot ScreenShot ScreenShot ScreenShot

Using the module

To use this module, add it to the modules array in the config/config.js file:

modules: [
	{
		module: "MMM-DigClock",
		position: "top_left",	// This can be any of the regions.
		config: {
			showDate: true,
			showWeek: false,
			showSeconds: false,
			dateFormat: "ddd, ll",
			timezone: "America/Chicago"
		}
	},
]

Configuration options

The following properties can be configured:

Option Description
showDate Turn off or on the Date section.

Possible values: true or false
Default value: true
showWeek Turn off or on the Week section.

Possible values: true or false
Default value: false
showSeconds Turn off or on the Seconds.

Possible values: true or false
Default value: false
dateFormat Configure the date format as you like.

Possible values: Docs
Default value: "dddd, LL"
timezone Specific a timezone to show clock.

Possible examples values: "America/New_York", "America/Santiago", Etc/GMT+10
Default value: "America/Chicago". See more informations about configuration value here
You can’t perform that action at this time.