refs #5052 fixing jenkins test
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Alexandre Riera 2023-01-03 09:44:27 +01:00
parent 9887f87dd3
commit cef0152ef5
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ module.exports = Self => {
const minDate = new Date(); const minDate = new Date();
minDate.setFullYear(minDate.getFullYear() - 1); minDate.setFullYear(minDate.getFullYear() - 1);
const where = {dated: {gte: minDate}}; const where = {dated: {gte: new Date(minDate)}};
filter = mergeFilters(filter, {where}); filter = mergeFilters(filter, {where});
const stmt = new ParameterizedSQL( const stmt = new ParameterizedSQL(