Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
org.apache.myfaces.trinidad.convert.DateTimeConverter._doLenientParse() uses a Set (HashSet). Since Set (and HashSet) do not make any guarantee about the order of the elements, it is possible that the locale specified pattern (variable pattern) is not the first to be tried.
It might also be useful to have an order among the other patterns that make up the Sets "patterns" and "lenientPatterns".
In order to do so I suggest we make all the above Lists.