[jboss-jira] [JBoss JIRA] (DROOLS-4362) Fix date parsing in executable model on non English locale
Tibor Zimanyi (Jira)
issues at jboss.org
Wed Jul 24 07:34:00 EDT 2019
Tibor Zimanyi created DROOLS-4362:
-------------------------------------
Summary: Fix date parsing in executable model on non English locale
Key: DROOLS-4362
URL: https://issues.jboss.org/browse/DROOLS-4362
Project: Drools
Issue Type: Bug
Components: executable model
Affects Versions: 7.24.0.Final
Reporter: Tibor Zimanyi
Assignee: Tibor Zimanyi
When parsing a date in a rule, e.g. in constraint _ChildFactWithObject( date < "10-Jul-1974" )_, the parsing fails with exception: java.time.format.DateTimeParseException: Text '10-Jul-1974' could not be parsed at index 3.
This is caused by not providing English locale to the date formatter created in PackageModel.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list