mirror of
https://github.com/esphome/esphome.git
synced 2026-06-01 17:57:37 +08:00
remove crazy over definsive edge cases that the bot wants -- they never happen and just make things larger
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
namespace esphome::time {
|
namespace esphome::time {
|
||||||
|
|
||||||
// Global timezone for ESPTime::from_epoch_local() to use
|
// Global timezone - set once at startup, rarely changes
|
||||||
static ParsedTimezone global_tz_{};
|
static ParsedTimezone global_tz_{};
|
||||||
|
|
||||||
void set_global_tz(const ParsedTimezone &tz) { global_tz_ = tz; }
|
void set_global_tz(const ParsedTimezone &tz) { global_tz_ = tz; }
|
||||||
|
|||||||
Reference in New Issue
Block a user