modified: server.js
This commit is contained in:
parent
fd97592179
commit
3ae436f20f
@ -67,7 +67,7 @@ function getLatestSensorData(callback) {
|
|||||||
humidity: data.humidity,
|
humidity: data.humidity,
|
||||||
co2: data.co2,
|
co2: data.co2,
|
||||||
pressure: data.pressure,
|
pressure: data.pressure,
|
||||||
timestamps: data.timestamp
|
timestamps: data.timestamp.map(row => new Date(row.timestamp).toISOString().slice(0, 19).replace('T', ' '))
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user