Skip to content
Snippets Groups Projects
Unverified Commit b5f617db authored by Neil's avatar Neil Committed by GitHub
Browse files

Custom Reports bug fix (#2556)

* fix bug

* notes
parent b3fc2320
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ export function validateEnd( ...@@ -48,7 +48,7 @@ export function validateEnd(
let dateEnd; let dateEnd;
switch (interval) { switch (interval) {
case 'Monthly': case 'Monthly':
dateEnd = end + '-31'; dateEnd = monthUtils.getMonthEnd(end + '-01');
subDays = 180; subDays = 180;
break; break;
case 'Yearly': case 'Yearly':
......
---
category: Bugfix
authors: [carkom]
---
Custom Reports: Fix bug where month endDate is saving as a non-date variable.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment