iobroker.lovelace 4.0.8 → 4.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/io-package.json +5 -14
- package/lib/modules/history.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -471,6 +471,9 @@ After that checkout modified version in `./build` folder. Then.
|
|
|
471
471
|
PLACEHOLDER for next version:
|
|
472
472
|
### **WORK IN PROGRESS**
|
|
473
473
|
-->
|
|
474
|
+
### 4.0.9 (2023-12-12)
|
|
475
|
+
* (Garfonso) fixed: timestamp in legacy history data
|
|
476
|
+
|
|
474
477
|
### 4.0.8 (2023-12-12)
|
|
475
478
|
* (Garfonso) re-add legacy history for custom cards
|
|
476
479
|
|
|
@@ -485,9 +488,6 @@ After that checkout modified version in `./build` folder. Then.
|
|
|
485
488
|
* (Garfonso) revert shopping list
|
|
486
489
|
* (Garfonso) prevent invalid date error
|
|
487
490
|
|
|
488
|
-
### 4.0.4 (2023-12-09)
|
|
489
|
-
* (Garfonso) fix: crash
|
|
490
|
-
|
|
491
491
|
## License
|
|
492
492
|
|
|
493
493
|
Copyright 2019-2023, bluefox <dogafox@gmail.com>
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "lovelace",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.9",
|
|
5
5
|
"news": {
|
|
6
|
+
"4.0.9": {
|
|
7
|
+
"en": "fixed: timestamp in legacy history data",
|
|
8
|
+
"de": "fixed: zeitstempel in alten History daten"
|
|
9
|
+
},
|
|
6
10
|
"4.0.8": {
|
|
7
11
|
"en": "re-add legacy history for custom cards",
|
|
8
12
|
"de": "re-add die alten history methoden für benutzerdefinierte karten"
|
|
@@ -62,19 +66,6 @@
|
|
|
62
66
|
"pl": "uwaga: testy.",
|
|
63
67
|
"uk": "виправити: тести.",
|
|
64
68
|
"zh-cn": "fix:试验。."
|
|
65
|
-
},
|
|
66
|
-
"4.0.2": {
|
|
67
|
-
"en": "fix: crash",
|
|
68
|
-
"de": "fix: absturz",
|
|
69
|
-
"ru": "исправить: аварии",
|
|
70
|
-
"pt": "correção: acidente",
|
|
71
|
-
"nl": "vertaling:",
|
|
72
|
-
"fr": "correction :",
|
|
73
|
-
"it": "correzione: crash",
|
|
74
|
-
"es": "arranca:",
|
|
75
|
-
"pl": "naprawa",
|
|
76
|
-
"uk": "виправити: аварійний",
|
|
77
|
-
"zh-cn": "fix:坠落"
|
|
78
69
|
}
|
|
79
70
|
},
|
|
80
71
|
"title": "Visualization with Lovelace-UI",
|
package/lib/modules/history.js
CHANGED
|
@@ -208,7 +208,7 @@ function sendHistoryResponse(ws, id, historyData, parameters) {
|
|
|
208
208
|
*/
|
|
209
209
|
function _convertStateTStoISOString(e) {
|
|
210
210
|
try {
|
|
211
|
-
return new Date(e.lu || e.lc).toISOString();
|
|
211
|
+
return new Date((e.lu || e.lc) * 1000).toISOString();
|
|
212
212
|
} catch (error) {
|
|
213
213
|
return new Date().toISOString();
|
|
214
214
|
}
|