Skip to content

Commit

Permalink
Qrome - updated to use gmtOffset and not rawOffset
Browse files Browse the repository at this point in the history
  • Loading branch information
David Payne committed Oct 29, 2018
1 parent e949840 commit 4e6dcb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions marquee/GeoNamesClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ float GeoNamesClient::getTimeOffset() {
JsonObject& root = json_buf.parseObject(jsonArray);
String offset = (const char*)root["dstOffset"];
if (!isDst) {
offset = (const char*)root["rawOffset"];
offset = (const char*)root["gmtOffset"];
}
// Sample time: "2018-03-19 21:22"
datetime = (const char*)root["time"];
Expand Down Expand Up @@ -197,4 +197,4 @@ String GeoNamesClient::getDay00() {





0 comments on commit 4e6dcb3

Please sign in to comment.