Skip to content

Commit

Permalink
decrease earliest epoch value by 3 hours query XML
Browse files Browse the repository at this point in the history
  • Loading branch information
elliVM committed Nov 15, 2024
1 parent 12bba5e commit bfeceed
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ private ElementNode timeQualifierEmitXml(DPLParser.TimeQualifierContext ctx) {
startTime = tq.epoch();
}
else if (tq.isEndTime()) {
endTime = tq.epoch();
// TODO: this is a hack to remove 3 hours from earliest value for archive
endTime = tq.epoch() - (3 * 60 * 60 * 1000);
}
else {
throw new UnsupportedOperationException("Unexpected token: " + node.getSymbol().getText());
Expand Down

0 comments on commit bfeceed

Please sign in to comment.