If the validFrom or validTo dates are set to e.g. 08.02.2018 and you view the page on this date, the element is not shown because the timestamp is greater than the validFrom date or validTo date. This is not correct.
This PR fixes this behaviour by use the timestamp of the current store date without the current time of the day.
If the validFrom or validTo dates are set to e.g. 08.02.2018 and you view the page on this date, the element is not shown because the timestamp is greater than the validFrom date or validTo date. This is not correct.
This PR fixes this behaviour by use the timestamp of the current store date without the current time of the day.