Skip to content

Commit

Permalink
fix: date to datetime conversion with operators LT and GT (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardtreier authored Sep 26, 2024
1 parent a09e446 commit 44aac09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ 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
- Fixed Date to DateTime conversion issues when using operators `LT` and `GT`
([#846](https://github.com/sovity/edc-ui/issues/846))

### Deployment Migration Notes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const jsonAdapter: PolicyFormAdapter<string> = {
};

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:
Expand Down

0 comments on commit 44aac09

Please sign in to comment.