Merge pull request 'fix(filter): refs #6461 now is mockDate in local' (!1845) from 6461-fixFilterNegativeBases into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #1845 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
f27fdaa023
|
@ -7,7 +7,7 @@ export default class Controller extends Section {
|
|||
super($element, $);
|
||||
|
||||
this.vnReport = vnReport;
|
||||
const now = new Date();
|
||||
const now = Date.vnNew();
|
||||
const firstDayOfMonth = new Date(now.getFullYear(), now.getMonth(), 1);
|
||||
const lastDayOfMonth = new Date(now.getFullYear(), now.getMonth() + 1, 0);
|
||||
this.params = {
|
||||
|
|
Loading…
Reference in New Issue