diff --git a/CHANGELOG.md b/CHANGELOG.md index 1819df73..dc554078 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,7 +30,9 @@ the detailed section referring to by linking pull requests or issues. definition in a single call ([#841](https://github.com/sovity/edc-ui/issues/841)) - Fixed config not being applied properly after a version upgrade -- Added initial support for UI internationalization +- Fixed Date to DateTime conversion issues when using operators `LT` and `GT` + ([#846](https://github.com/sovity/edc-ui/issues/846)) +- Added initial support for UI internationalization ([#680](https://github.com/sovity/edc-ui/issues/680)) ### Deployment Migration Notes diff --git a/src/app/shared/business/policy-editor/model/policy-form-adapter.ts b/src/app/shared/business/policy-editor/model/policy-form-adapter.ts index 2841dce5..b1a9d727 100644 --- a/src/app/shared/business/policy-editor/model/policy-form-adapter.ts +++ b/src/app/shared/business/policy-editor/model/policy-form-adapter.ts @@ -121,7 +121,7 @@ export const jsonAdapter: PolicyFormAdapter = { }; const isUpperBound = (operator: PolicyOperatorConfig) => - operator.id === 'LT' || operator.id === 'LEQ'; + operator.id === 'GT' || operator.id === 'LEQ'; /** * Helper function for reducing mental complexity of mapping code: