1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

feat: add more pre-configured intervals (resolve #51)

This commit is contained in:
Ferdinand Mütsch
2020-09-12 12:40:38 +02:00
parent fde8c35362
commit 19a8c61f77
5 changed files with 49 additions and 32 deletions

View File

@ -14,12 +14,15 @@ const (
)
const (
IntervalToday string = "today"
IntervalLastDay string = "day"
IntervalLastWeek string = "week"
IntervalLastMonth string = "month"
IntervalLastYear string = "year"
IntervalAny string = "any"
IntervalToday string = "today"
IntervalYesterday string = "day"
IntervalThisWeek string = "week"
IntervalThisMonth string = "month"
IntervalThisYear string = "year"
IntervalPast7Days string = "7_days"
IntervalPast30Days string = "30_days"
IntervalPast12Months string = "12_months"
IntervalAny string = "any"
)
const UnknownSummaryKey = "unknown"