mirror of
				https://github.com/MichMich/MagicMirror.git
				synced 2025-10-31 02:36:47 +00:00 
			
		
		
		
	Module: Clock
The clock module is one of the default modules of the MagicMirror.
This module displays the current date and time. The information will be updated realtime.
Using the module
To use this module, add it to the modules array in the config/config.js file:
modules: [
	{
		module: 'clock',
		position: 'top_left',	// This can be any of the regions.
		config: {
			// The config property is optional.
			// See 'Configuration options' for more information.
		}
	}
]
Configuration options
The following properties can be configured:
| Option | Description | 
|---|---|
| timeFormat | Use 12 or 24 hour format. Possible values: 12or24Default value: uses value of config.timeFormat | 
| displaySeconds | Display seconds. Possible values: trueorfalseDefault value: true | 
| showPeriod | Show the period (am/pm) with 12 hour format. Possible values: trueorfalseDefault value: true | 
| showPeriodUpper | Show the period (AM/PM) with 12 hour format as uppercase. Possible values: trueorfalseDefault value: false | 
| clockBold | Remove the colon and bold the minutes to make a more modern look. Possible values: trueorfalseDefault value: false |