Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 458 Bytes

2022-06-09-refactor-delivery-time-units.md

File metadata and controls

12 lines (12 loc) · 458 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 4 column 16
---
title: Refactor delivery time units
issue: NEXT-21958
author: Silvio Kennecke
author_github: @silviokennecke
---

Administration

  • Changed sw-settings-delivery-time-detail component to support unit hour

Core

  • Changed \Shopware\Core\System\DeliveryTime\DeliveryTimeEntity to add missing unit constants
  • Changed \Shopware\Core\Checkout\Cart\Delivery\Struct\DeliveryDate::createFromDeliveryTime to use constants instead of hardcoded values