mirror of
https://github.com/esphome/esphome.git
synced 2026-08-30 17:46:01 +00:00
Co-authored-by: doraemon2200 <106516578+doraemon2200@users.noreply.github.com>
This commit is contained in:
co-authored by
doraemon2200
parent
1cbe3a49b2
commit
5328813814
@@ -178,7 +178,8 @@ static int __attribute__((noinline)) days_from_year_start(int year, int month, i
|
||||
}
|
||||
|
||||
time_t __attribute__((noinline)) calculate_dst_transition(int year, const DSTRule &rule, int32_t base_offset_seconds) {
|
||||
int month, day;
|
||||
int month = 1;
|
||||
int day = 1;
|
||||
|
||||
switch (rule.type) {
|
||||
case DSTRuleType::MONTH_WEEK_DAY: {
|
||||
|
||||
Reference in New Issue
Block a user