1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-26 00:29:40 +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 end
def interval def interval
if days > 90 if days > 366
"1 month" "1 week"
else else
"1 day" "1 day"
end end