Mercurial > gemma
changeset 2847:4da07a11e6e1
import_overview: fix date calculation
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Thu, 28 Mar 2019 15:43:32 +0100 |
parents | b42d10120cad |
children | b6886706b325 |
files | client/src/components/importoverview/ImportOverview.vue |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/importoverview/ImportOverview.vue Thu Mar 28 14:07:20 2019 +0100 +++ b/client/src/components/importoverview/ImportOverview.vue Thu Mar 28 15:43:32 2019 +0100 @@ -238,11 +238,11 @@ break; case this.$options.LAST_7_DAYS: start = startOfDay(pointInTime); - end = endOfDay(addDays(7, start)); + end = endOfDay(addDays(start, 7)); break; case this.$options.LAST_30_DAYS: start = startOfDay(pointInTime); - end = endOfDay(addDays(30, start)); + end = endOfDay(addDays(start, 30)); break; } return [start, end];