Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Adjust graph intervals to show more data

Zach Gollwitzere384369cfbb4
diff --git a/app/models/period.rb b/app/models/period.rb
index 7e1a8008..85ad2947 100644
--- a/app/models/period.rb
+++ b/app/models/period.rb
@@ -117,8 +117,8 @@ class Period
end
def interval
- if days > 90
- "1 month"
+ if days > 366
+ "1 week"
else
"1 day"
end