Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
Signed-off-by: sumukhswamy <sumukhhs@amazon.com>
  • Loading branch information
sumukhswamy committed Feb 10, 2025
1 parent 11fbe04 commit 5c76f9a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,9 @@ internal object ReportInstanceActions {

if (!reportDefinitionDetails.reportDefinition.format.timeFrom.isNullOrBlank() &&
!reportDefinitionDetails.reportDefinition.format.timeTo.isNullOrBlank()) {
// Use new logic if timeFrom and timeTo are present
beginTime = Instant.parse(reportDefinitionDetails.reportDefinition.format.timeFrom)
endTime = Instant.parse(reportDefinitionDetails.reportDefinition.format.timeTo)
} else {
// Fallback to old logic
beginTime = currentTime.minus(reportDefinitionDetails.reportDefinition.format.duration)
endTime = currentTime
}
Expand Down

0 comments on commit 5c76f9a

Please sign in to comment.