From 9fe980d42cc2065cd83fb3cdbe6351a2d257cfac Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Wed, 17 Feb 2016 17:16:07 +0200 Subject: [PATCH] renmaed *end_month to *month_end --- utils/coreutils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/coreutils.go b/utils/coreutils.go index 3719f776f..4268700cc 100644 --- a/utils/coreutils.go +++ b/utils/coreutils.go @@ -193,7 +193,7 @@ func ParseDate(date string) (expDate time.Time, err error) { expDate = time.Now().AddDate(0, 1, 0) // add one month case date == "*yearly": expDate = time.Now().AddDate(1, 0, 0) // add one year - case date == "*end_month": + case date == "*month_end": expDate = GetEndOfMonth(time.Now()) case strings.HasSuffix(date, "Z"): expDate, err = time.Parse(time.RFC3339, date)