Skip to content

Commit

Permalink
fix dst bug, previous one has typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
d0ughb0y committed Mar 9, 2015
1 parent f145bc9 commit bc2c36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Network.ino
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ boolean IsDST(time_t t)
dstStart += 2*SECS_PER_HOUR;
te.Month=11;
dstEnd = makeTime(te);
if (dayOfWeel(dstEnd)!=dowSunda) //if Nov 1 is already a Sundau, skip call to nextSunday
if (dayOfWeek(dstEnd)!=dowSunday) //if Nov 1 is already a Sundau, skip call to nextSunday
dstEnd = nextSunday(dstEnd); //first sunday in november
dstEnd += SECS_PER_HOUR;
return (t>=dstStart && t<dstEnd);
Expand Down

0 comments on commit bc2c36e

Please sign in to comment.