Skip to content

Commit

Permalink
Address suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Marinovsky committed Dec 5, 2024
1 parent 167d8d1 commit 381c90c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Common/Data/Consolidators/PeriodCountConsolidatorBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 381c90c

Please sign in to comment.