Date parsing is lenient

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Medium
    • None
    • Affects Version/s: 3.2.1
    • Component/s: None
    • Environment:

      Standalone, Tomcat, Hsql, Win Xp, java 1.5.0_02

    • 3.02

      I have several date fields with date picker. If I fill in the value manually dates are parsed in lenient way (i.e 55.22.2005 produces date 24.11.2006). Can I set date parsing somehow not to parse dates that way and give error messages instead of transformation. I'd like to get parsing to work as it works normally in Java after DateFormat.setLenient(false) command.

            Assignee:
            Unassigned
            Reporter:
            Mauri Viitamaa
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: