mirror of
https://github.com/esphome/esphome.git
synced 2026-05-26 03:07:04 +08:00
tweak
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "posix_tz.h"
|
||||
#include <cctype>
|
||||
|
||||
namespace esphome {
|
||||
namespace esphome::time {
|
||||
|
||||
namespace internal {
|
||||
|
||||
@@ -406,4 +406,4 @@ bool epoch_to_local_tm(time_t utc_epoch, const ParsedTimezone &tz, struct tm *ou
|
||||
return true;
|
||||
}
|
||||
|
||||
} // namespace esphome
|
||||
} // namespace esphome::time
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <cstdint>
|
||||
#include <ctime>
|
||||
|
||||
namespace esphome {
|
||||
namespace esphome::time {
|
||||
|
||||
/// Type of DST transition rule
|
||||
enum class DSTRuleType : uint8_t {
|
||||
@@ -114,4 +114,4 @@ void epoch_to_tm_utc(time_t epoch, struct tm *out_tm);
|
||||
|
||||
} // namespace internal
|
||||
|
||||
} // namespace esphome
|
||||
} // namespace esphome::time
|
||||
|
||||
Reference in New Issue
Block a user