Update CHANGELOG, undo accidental commit in clock.js

This commit is contained in:
rejas
2021-04-17 12:20:25 +02:00
parent 20bee9c334
commit 480f734a06
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ _This release is scheduled to be released on 2021-04-01._
- Added German translation for "PRECIP".
- Added first test for Alert module.
- Added support for `dateFormat` when not using `timeFormat: "absolute"`
- Added custom-properties in css for improved styling experience, see `custom.css.sample` file
- Added custom-properties in css of core and modules for improved styling experience, see `custom.css.sample` file
### Updated

View File

@@ -52,7 +52,7 @@ Module.register("clock", {
//Calculate how many ms should pass until next update depending on if seconds is displayed or not
var delayCalculator = function (reducedSeconds) {
var EXTRA_DELAY = 50000000; //Deliberate imperceptable delay to prevent off-by-one timekeeping errors
var EXTRA_DELAY = 50; //Deliberate imperceptable delay to prevent off-by-one timekeeping errors
if (self.config.displaySeconds) {
return 1000 - moment().milliseconds() + EXTRA_DELAY;