mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-30 01:06:11 +02:00
0.7.16
* next attempt to fix yield day for multiple inverters #1016 * fix export settings date #1040 * fix time on WebUI (timezone was not observed) #913 #1016
This commit is contained in:
parent
e5d78bf5b4
commit
ffe7d47b31
8 changed files with 29 additions and 15 deletions
|
@ -119,6 +119,10 @@ function parseRssi(obj) {
|
|||
document.getElementById("wifiicon").replaceChildren(svg(icon, 32, 32, "wifi", obj["wifi_rssi"]));
|
||||
}
|
||||
|
||||
function toIsoDateStr(d) {
|
||||
return new Date(d.getTime() + (d.getTimezoneOffset() * -60000)).toISOString().substring(0, 19).replace('T', ', ');
|
||||
}
|
||||
|
||||
function setHide(id, hide) {
|
||||
var elm = document.getElementById(id);
|
||||
if(hide) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue