Commit 426752da authored by Michal Čihař's avatar Michal Čihař

Adjust chart interval with frequency

When counting changes, the interval should be multiply of frequency,
otherwise last interval is shorter.
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent e7e14181
...@@ -83,7 +83,7 @@ def yearly_activity(request, project=None, subproject=None, lang=None, ...@@ -83,7 +83,7 @@ def yearly_activity(request, project=None, subproject=None, lang=None,
Returns yearly activity for matching changes as json. Returns yearly activity for matching changes as json.
""" """
activity = get_json_stats( activity = get_json_stats(
request, 365, 7, request, 364, 7,
project, subproject, lang project, subproject, lang
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment