cubicweb-awstats #3814410 Remove hardcoded values in utils.py [open]

time_params() and compress_old_hits() use hardcoded values such as 5 (months) and 2 days.

Implementation seems buggy and hard to understand.

Reimplement this with appopriate tests and specs.

priorityimportant
typeenhancement
done in<not specified>
load0.500
load left0.500
closed by<not specified>