tryfix: use UTC on Phone API (#3576)

This commit is contained in:
Thomas Göttgens
2024-04-08 17:26:23 -05:00
committed by GitHub
parent b14ac777f1
commit ea61808fd9
4 changed files with 20 additions and 12 deletions
+1 -1
View File
@@ -1379,7 +1379,7 @@ bool GPS::lookForLocation()
t.tm_mon = reader.date.month() - 1;
t.tm_year = reader.date.year() - 1900;
t.tm_isdst = false;
p.timestamp = mktime(&t);
p.timestamp = gm_mktime(&t);
// Nice to have, if available
if (reader.satellites.isUpdated()) {