mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-05-03 12:36:57 +00:00
fix firmware install date (was using UTC as TZ not initialised)
This commit is contained in:
@@ -75,7 +75,7 @@ enum FUSE_VALUE : uint8_t { ALL = 0, MFG = 1, MODEL = 2, BOARD = 3, REV = 4, BAT
|
||||
struct PartitionInfo {
|
||||
std::string version;
|
||||
size_t size;
|
||||
std::string install_date; // optional, only available if NTP is connected
|
||||
time_t install_date; // UTC epoch seconds; 0 if unknown. Format with localtime() at render time so it honors the current TZ.
|
||||
};
|
||||
|
||||
class System {
|
||||
|
||||
Reference in New Issue
Block a user