mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +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: 12 or 24
Default value: uses value of config.timeFormat |
displaySeconds |
Display seconds. Possible values: true or false
Default value: true
|