Skip to content

Commit

Permalink
fix: heatmaps negative iteration number!
Browse files Browse the repository at this point in the history
  • Loading branch information
amindadgar committed Sep 5, 2024
1 parent 3ddef4d commit 1978e2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tc_analyzer_lib/metrics/heatmaps/heatmaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async def start(
heatmaps_results = []

index = 0
max_index = (analytics_date - datetime.now()).days
max_index = (datetime.now() - analytics_date).days
while analytics_date.date() < datetime.now().date():
start_day = analytics_date.replace(
hour=0, minute=0, second=0, microsecond=0
Expand Down

0 comments on commit 1978e2f

Please sign in to comment.