fix(filter): refs #6461 now is mockDate in local #1845

Merged
pablone merged 2 commits from 6461-fixFilterNegativeBases into dev 2023-11-17 11:23:25 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ export default class Controller extends Section {
super($element, $); super($element, $);
this.vnReport = vnReport; this.vnReport = vnReport;
const now = new Date(); const now = Date.vnNew();
const firstDayOfMonth = new Date(now.getFullYear(), now.getMonth(), 1); const firstDayOfMonth = new Date(now.getFullYear(), now.getMonth(), 1);
const lastDayOfMonth = new Date(now.getFullYear(), now.getMonth() + 1, 0); const lastDayOfMonth = new Date(now.getFullYear(), now.getMonth() + 1, 0);
this.params = { this.params = {