mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
commit
fe8a317ef9
@ -19,6 +19,9 @@ _This release is scheduled to be released on 2021-04-01._
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- Fix calendar start function logging inconsistency.
|
||||||
|
- Fix updatenotification start function logging inconsistency.
|
||||||
|
|
||||||
## [2.15.0] - 2021-04-01
|
## [2.15.0] - 2021-04-01
|
||||||
|
|
||||||
Special thanks to the following contributors: @EdgardosReis, @MystaraTheGreat, @TheDuffman85, @ashishtank, @buxxi, @codac, @fewieden, @khassel, @klaernie, @qu1que, @rejas, @sdetweil & @thomasrockhu.
|
Special thanks to the following contributors: @EdgardosReis, @MystaraTheGreat, @TheDuffman85, @ashishtank, @buxxi, @codac, @fewieden, @khassel, @klaernie, @qu1que, @rejas, @sdetweil & @thomasrockhu.
|
||||||
@ -82,7 +85,6 @@ Special thanks to the following contributors: @EdgardosReis, @MystaraTheGreat, @
|
|||||||
- Fix calendar time/date adjustment when time with GMT offset is different day (#2488).
|
- Fix calendar time/date adjustment when time with GMT offset is different day (#2488).
|
||||||
- Fix calendar daylight savings offset calculation if recurring FULL DAY start date before 2007 (#2483).
|
- Fix calendar daylight savings offset calculation if recurring FULL DAY start date before 2007 (#2483).
|
||||||
- Fix newsreaders template, for wrong test for nowrap in 2 places (should be if not).
|
- Fix newsreaders template, for wrong test for nowrap in 2 places (should be if not).
|
||||||
- Fix calendar start function logging inconsistency
|
|
||||||
|
|
||||||
## [2.14.0] - 2021-01-01
|
## [2.14.0] - 2021-01-01
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
Module.register("updatenotification", {
|
Module.register("updatenotification", {
|
||||||
|
// Define module defaults
|
||||||
defaults: {
|
defaults: {
|
||||||
updateInterval: 10 * 60 * 1000, // every 10 minutes
|
updateInterval: 10 * 60 * 1000, // every 10 minutes
|
||||||
refreshInterval: 24 * 60 * 60 * 1000, // one day
|
refreshInterval: 24 * 60 * 60 * 1000, // one day
|
||||||
@ -15,9 +16,10 @@ Module.register("updatenotification", {
|
|||||||
suspended: false,
|
suspended: false,
|
||||||
moduleList: {},
|
moduleList: {},
|
||||||
|
|
||||||
|
// Override start method.
|
||||||
start: function () {
|
start: function () {
|
||||||
var self = this;
|
var self = this;
|
||||||
Log.log("Start updatenotification");
|
Log.info("Starting module: " + this.name);
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
self.moduleList = {};
|
self.moduleList = {};
|
||||||
self.updateDom(2);
|
self.updateDom(2);
|
||||||
@ -32,6 +34,7 @@ Module.register("updatenotification", {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// Override socket notification handler.
|
||||||
socketNotificationReceived: function (notification, payload) {
|
socketNotificationReceived: function (notification, payload) {
|
||||||
if (notification === "STATUS") {
|
if (notification === "STATUS") {
|
||||||
this.updateUI(payload);
|
this.updateUI(payload);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user