Skip to content

Commit

Permalink
Happy New Year!
Browse files Browse the repository at this point in the history
  • Loading branch information
pvtom committed Jan 1, 2023
1 parent 9da2914 commit 1324a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RscpMqttMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ int createRequest(SRscpFrameBuffer * frameBuffer) {
// YEAR
l->tm_mday = 1;
l->tm_mon = 0;
start.seconds = mktime(l) - 1;
start.seconds = (e3dc_diff * 3600) + mktime(l) - 1;
interval.seconds = 366 * 24 * 3600;
span.seconds = (366 * 24 * 3600) - 1;
protocol.createContainerValue(&dbContainer, TAG_DB_REQ_HISTORY_DATA_YEAR);
Expand Down

0 comments on commit 1324a55

Please sign in to comment.