mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 09:42:21 -04:00
Run eslint over files, see what gets fixed automatically and clean up
This commit is contained in:
parent
f4eae72c48
commit
43bcf4ab98
11 changed files with 72 additions and 24 deletions
|
@ -152,6 +152,10 @@ Module.register("clock", {
|
|||
timeWrapper.appendChild(periodWrapper);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param config
|
||||
* @param time
|
||||
*/
|
||||
function formatTime(config, time) {
|
||||
var formatString = hourSymbol + ":mm";
|
||||
if (config.showPeriod && config.timeFormat !== 24) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue