fix: 30 days interval

This commit is contained in:
Ferdinand Mütsch 2021-02-06 00:47:44 +01:00
parent 242928aba5
commit 38ae41611f
1 changed files with 0 additions and 1 deletions

View File

@ -37,7 +37,6 @@ func ResolveInterval(interval string) (err error, from, to time.Time) {
from = StartOfToday().AddDate(0, 0, -14)
case models.IntervalPast30Days, models.IntervalWakatimeLast30Days:
from = StartOfToday().AddDate(0, 0, -30)
from = StartOfToday().AddDate(0, -6, 0)
case models.IntervalPast12Months:
from = StartOfToday().AddDate(0, -12, 0)
case models.IntervalAny: