1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 15:49:39 +02:00

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