added week to mapdata
package.json "version": "1.2.1", "date": "2023-04-21",
This commit is contained in:
@@ -165,6 +165,8 @@ export var getData4map = async (params) => {
|
||||
oneAktData.value = Math.round(sensor.values[v4map] * 100) / 100
|
||||
}
|
||||
}
|
||||
let weeks = Math.round(diff / (7 * 24 * 3600 * 1000))
|
||||
oneAktData.weeks = weeks
|
||||
}
|
||||
if (sensor.values.timestamp > lastDate) {
|
||||
lastDate = sensor.values.timestamp
|
||||
|
||||
Reference in New Issue
Block a user