iobroker.alexa-timer-vis
Advanced tools
Comparing version 0.1.5 to 0.1.6
{ | ||
"common": { | ||
"name": "alexa-timer-vis", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"news": { | ||
"0.1.6":{ | ||
"en": "numbers from 1-9 are always displayed as two digits, 1 => 01" | ||
}, | ||
"0.1.5": { | ||
@@ -7,0 +10,0 @@ "en": "New keywords added", |
17
main.js
@@ -336,5 +336,5 @@ "use strict"; | ||
const end_Time = time(endTime); | ||
let hour = 0; | ||
let minutes = 0; | ||
let seconds = 0; | ||
let hour; | ||
let minutes; | ||
let seconds; | ||
@@ -374,2 +374,7 @@ // Index für Timer bestimmen | ||
// Stunden, Minuten und Sekunden umwandeln so das sie immer zweistellig sind bei > 10 ( 1 => 01 usw.) | ||
hour = ("0" + hour ).slice(-2); | ||
minutes = ("0" + minutes ).slice(-2); | ||
seconds = ("0" + seconds ).slice(-2); | ||
// String der Zeit erstellen | ||
@@ -403,5 +408,5 @@ const time = hour + " : " + minutes + " : " + seconds + " Std"; | ||
// Werte des Timers zurücksetzen | ||
timer.hour = 0; | ||
timer.minute = 0; | ||
timer.second = 0; | ||
timer.hour = "00"; | ||
timer.minute = "00"; | ||
timer.second = "00"; | ||
timer.string_Timer = "00 : 00 : 00 Std"; | ||
@@ -408,0 +413,0 @@ timer.onlySec = 0; |
{ | ||
"name": "iobroker.alexa-timer-vis", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "Alexa Timer ausgeben um in der Vis anzuzeigen", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -96,2 +96,4 @@ ![Logo](admin/alexa-timer-vis.png) | ||
## Changelog | ||
### 0.1.6 (17.01.2022) | ||
* numbers from 1-9 are always displayed as two digits, 1 => 01 | ||
### 0.1.5 (08.01.2022) | ||
@@ -98,0 +100,0 @@ * New keywords added |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
204252
957
144