-
Enhancement
-
Resolution: Unresolved
-
Minor
-
None
-
5.4.0.Beta2
-
None
The PackageBuilder has a field dateFormats that stores the dateformatter used to parse dates in a DRL.
However it's impossible to modify that. It always parses the DRL with the default locale.
So, if you write a DRL on a UK server and let it compile on TH client, it will fail because it cannot parse 1-JAN-2012.
Here's the code that doesn't support changing the dateFormat:
public PackageBuilder( Package pkg, PackageBuilderConfiguration configuration ) { this.dateFormats = null;//(DateFormats) this.environment.get( EnvironmentName.DATE_FORMATS ); if (this.dateFormats == null) { this.dateFormats = new DateFormatsImpl(); //this.environment.set( EnvironmentName.DATE_FORMATS , this.dateFormats ); }
- blocks
-
JBRULES-2834 TimerAndCalendarTest will fail 4 tests on non english environments
- Resolved