fix(last-entries): dateFrom -75 days
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2021-11-10 12:34:56 +01:00
parent 9010992add
commit d3ff60719c
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ class Controller extends Section {
super($element, $);
const from = new Date();
from.setDate(from.getDate());
from.setDate(from.getDate() - 75);
from.setHours(0, 0, 0, 0);
const to = new Date();