graphs: Add interval "month"
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 6 Jun 2015 10:40:53 +0000 (10:40 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 6 Jun 2015 10:40:53 +0000 (10:40 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/collecty/plugins/base.py

index 004b2a1..76eaad6 100644 (file)
@@ -374,6 +374,7 @@ class GraphTemplate(object):
                None   : "-3h",
                "hour" : "-1h",
                "day"  : "-25h",
+               "month": "-30d",
                "week" : "-360h",
                "year" : "-365d",
        }