Adjust graph intervals to show more data

Fixes #1948
This commit is contained in:
Zach Gollwitzer
2025-03-05 10:20:02 -05:00
parent 8d0509fda0
commit e384369cfb

View File

@@ -117,8 +117,8 @@ class Period
end
def interval
if days > 90
"1 month"
if days > 366
"1 week"
else
"1 day"
end