Skip to content

Commit

Permalink
Adjusted 'group by day' threshold in GetDateFormatForRange (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
miris-mp authored Dec 11, 2024
1 parent b930c03 commit b3f1b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ApiServer/ApiServer/Utilities/DateRangeHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static string GetDateFormatForRange(DateTime startDate, DateTime endDate)

var totalDays = (endDate - startDate).TotalDays;

if (totalDays <= 7)
if (totalDays <= 30)
{
return "%Y-%m-%d"; // Group by day
}
Expand Down

0 comments on commit b3f1b97

Please sign in to comment.