iobroker.accuweather
Advanced tools
Comparing version 1.1.3 to 1.1.4
{ | ||
"common": { | ||
"name": "accuweather", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"news": { | ||
"1.1.4": { | ||
"en": "Small bug-fixes to check intervals", | ||
"de": "Kleine Fehlerbehebungen zur Überprüfung der Intervalle", | ||
"ru": "Небольшие исправления ошибок для проверки интервалов", | ||
"pt": "Pequenas correções de erros para verificar intervalos", | ||
"nl": "Kleine bugfixes om intervallen te controleren", | ||
"fr": "Petites corrections de bugs pour vérifier les intervalles", | ||
"it": "Piccole correzioni di bug per controllare gli intervalli", | ||
"es": "Pequeñas correcciones de errores para verificar intervalos", | ||
"pl": "Małe poprawki błędów sprawdzające interwały", | ||
"zh-cn": "小错误修复,以检查间隔" | ||
}, | ||
"1.1.3": { | ||
@@ -7,0 +19,0 @@ "en": "Minor updates for compact mode", |
@@ -307,5 +307,5 @@ "use strict"; | ||
const cdt = new Date(); | ||
if ((cdt.getHours() === 7 || cdt.getHours() === 20) && cdt.getMinutes() <= 5) { timeout1 = setTimeout(() => { _this.requst5Days(); }, Math.random() * 10000 + 1); } | ||
if ((cdt.getHours() === 7 || cdt.getHours() === 20) && cdt.getMinutes() < 5) { timeout1 = setTimeout(() => { _this.requst5Days(); }, Math.random() * 10000 + 1); } | ||
if (cdt.getMinutes() <= 5 && cdt.getMinutes() > 0) { timeout2 = setTimeout(() => { _this.requstCurrent(); }, Math.random() * 10000 + 1); } | ||
if ((cdt.getHours() === 6 || cdt.getHours() === 12 || cdt.getHours() === 18 || cdt.getHours() === 0) && cdt.getMinutes() <= 5) { timeout1 = setTimeout(() => { _this.requst12Hours(); }, Math.random() * 10000 + 1); } | ||
if ((cdt.getHours() === 6 || cdt.getHours() === 12 || cdt.getHours() === 18 || cdt.getHours() === 0) && cdt.getMinutes() <=5) { timeout1 = setTimeout(() => { _this.requst12Hours(); }, Math.random() * 10000 + 1); } | ||
@@ -312,0 +312,0 @@ }, 300000); |
{ | ||
"name": "iobroker.accuweather", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Weather forecast using AccuWeather API", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -11,3 +11,3 @@ ![Logo](admin/accuweather.png) | ||
**Tests:**: [![Travis-CI](http://img.shields.io/travis/algar42/ioBroker.accuweather/master.svg)](https://travis-ci.org/algar42/ioBroker.accuweather) [![Greenkeeper badge](https://badges.greenkeeper.io/iobroker-community-adapters/ioBroker.accuweather.svg)](https://greenkeeper.io/) | ||
**Tests:**: [![Travis-CI](http://img.shields.io/travis/algar42/ioBroker.accuweather/master.svg)](https://travis-ci.org/algar42/ioBroker.accuweather) | ||
@@ -40,2 +40,5 @@ ## accuweather adapter for ioBroker | ||
### 1.1.4 | ||
* (HGlab01) small bugfix regarding setTimeout range | ||
### 1.1.3 | ||
@@ -42,0 +45,0 @@ * (algar42) Minor updates for compact mode |
118769
74