mirror of
https://github.com/esphome/esphome.git
synced 2025-09-28 08:02:23 +01:00
Remove a whole bunch of deprecated/removed stuff (#1981)
This commit is contained in:
@@ -32,11 +32,8 @@ struct ESPTime {
|
||||
uint16_t year;
|
||||
/// daylight saving time flag
|
||||
bool is_dst;
|
||||
union {
|
||||
ESPDEPRECATED(".time is deprecated, use .timestamp instead") time_t time;
|
||||
/// unix epoch time (seconds since UTC Midnight January 1, 1970)
|
||||
time_t timestamp;
|
||||
};
|
||||
/// unix epoch time (seconds since UTC Midnight January 1, 1970)
|
||||
time_t timestamp;
|
||||
|
||||
/** Convert this ESPTime struct to a null-terminated c string buffer as specified by the format argument.
|
||||
* Up to buffer_len bytes are written.
|
||||
|
Reference in New Issue
Block a user