Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #58 from venustrg/master
Browse files Browse the repository at this point in the history
fixing silly NMEA/DST calendar error
  • Loading branch information
zerog2k authored Jan 22, 2021
2 parents 92d8cca + ebd514a commit beb3b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nmea.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ uint8_t days_per_month(uint16_t year, uint8_t month)
if (month == 1)
return isleap(year) ? 29 : 28;
else
return monlen[month-1];
return monlen[month];
}

void nmea_apply_tz(struct tm *t)
Expand Down

0 comments on commit beb3b51

Please # to comment.