refs #5255 fixed condition
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alexandre Riera 2023-04-26 12:03:17 +02:00
parent c9a42f9eb8
commit 1219cfcc5c
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ module.exports = Self => {
let start = new Date(expedition.created);
let end = new Date(start.getTime() + (packingSiteConfig.avgBoxingTime * 1000));
if (from && to) {
if (from != undefined && to != undefined) {
start.setHours(from, 0, 0);
end.setHours(to, 0, 0);
}