Skip to content

Latest commit

 

History

History
13 lines (13 loc) · 577 Bytes

2021-07-30-fix-date-range-rule.md

File metadata and controls

13 lines (13 loc) · 577 Bytes
title issue author author_github author_email
Fix the date range rule in the rule builder
NEXT-16524
Manuel Kress
windaishi

Core

  • 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() to Shopware\Core\Framework\Rule\RuleContext.