Skip to content

Latest commit

 

History

History
13 lines (13 loc) · 510 Bytes

2023-08-31-enable-rule-builder-time-unit-conversion.md

File metadata and controls

13 lines (13 loc) · 510 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: enable rule builder time unit conversion
issue: NEXT-24941
author: Lars Kemper
author_email: l.kemper@shopware.com
author_github: @LarsKemper
---

Core

  • Changed type of property daysPassed to float in src/Core/Framework/Rule/Container/DaysSinceRule.php
  • Added unit configuration to getConfig method in src/Core/Framework/Rule/Container/DaysSinceRule.php

Administration

  • Changed default time unit from hr to d in src/module/sw-settings-rule/utils/unit-conversion.utils.ts