Skip to content

Commit

Permalink
hesai_decoder.replace mktime with timegm (#78)
Browse files Browse the repository at this point in the history
Signed-off-by: amc-nu <[email protected]>
  • Loading branch information
amc-nu authored Sep 22, 2023
1 parent ea482a8 commit 99d3560
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ struct DateTime
tm.tm_hour = hour;
tm.tm_min = minute;
tm.tm_sec = second;
return std::mktime(&tm);
return timegm(&tm);
}
};

Expand Down

0 comments on commit 99d3560

Please sign in to comment.