Use inclusive range in ActivityTracker#get (#29413)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2024-03-14 21:21:01 +00:00
1 parent df6086d402
commit d39d625561
1 file changed
+1 -1
+1 -1
View File
@@ -24,7 +24,7 @@ class ActivityTracker
end
def get(start_at, end_at = Time.now.utc)
(start_at.to_date...end_at.to_date).map do |date|
(start_at.to_date..end_at.to_date).map do |date|
key = key_at(date.to_time(:utc))
value = case @type