title | issue | author | author_github | author_email |
---|---|---|---|---|
Fix the date range rule in the rule builder |
NEXT-16524 |
Manuel Kress |
windaishi |
- Fixed the class
Shopware\Core\Framework\Rule\DateRangeRule
to correctly evaluate date and time ranges.- The date and time limits are now matched correctly.
- If no timestamp is used, the end date is now matched correctly.
- Several tests were added to ensure the functionality of this class.
- Added method
getCurrentTime()
toShopware\Core\Framework\Rule\RuleContext
.