From 381c90c5d42cac6ce604ce9030cd36031add879f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Andr=C3=A9s=20Marino=20Rojas?= <47573394+Marinovsky@users.noreply.github.com> Date: Thu, 5 Dec 2024 13:11:39 -0500 Subject: [PATCH] Address suggestions --- Common/Data/Consolidators/PeriodCountConsolidatorBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/Data/Consolidators/PeriodCountConsolidatorBase.cs b/Common/Data/Consolidators/PeriodCountConsolidatorBase.cs index 7e76d9050bc3..145304507723 100644 --- a/Common/Data/Consolidators/PeriodCountConsolidatorBase.cs +++ b/Common/Data/Consolidators/PeriodCountConsolidatorBase.cs @@ -330,7 +330,7 @@ protected DateTime GetRoundedBarTime(IBaseData inputData) // reason we need to handle this case specifically. if (inputData.EndTime - inputData.Time == TimeSpan.FromHours(1) && potentialStartTime.Date < inputData.Time.Date) { - potentialStartTime = inputData.Time.Date + potentialStartTime.TimeOfDay; + potentialStartTime = GetRoundedBarTime(inputData.EndTime); } else {