Skip to content

Commit 40ad378

Browse files
committed
C/P fix
1 parent b97266f commit 40ad378

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wled00/ntp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ bool jsonTimezone(TimeChangeRule &dst, TimeChangeRule &std) {
229229
dst.offset = o["dst"]["off"] | 0;
230230

231231
if (o["std"]["w"].is<const char*>())
232-
for (int i=0; i<4; i++) {
232+
for (int i=0; i<5; i++) {
233233
if (strncmp(weekShortStr(i), o["std"]["w"].as<const char*>(), 3) == 0) {
234234
std.week = i;
235235
break;

0 commit comments

Comments
 (0)