Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-209

hours in x:inputDate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0.9m9
    • 1.1.0
    • None
    • None
    • win xp,jdk1.4.2_05

    Description

      If you put '12' in hours input field - after confirmation/update component sets it to '00'.

      The solution is:
      In HttpInputDate.java, line 171,
      change from:
      SimpleDateFormat fullFormat = new SimpleDateFormat( "dd MM yyyy hh mm ss" );
      to:
      SimpleDateFormat fullFormat = new SimpleDateFormat( "dd MM yyyy HH mm ss" );

      .and it solves this problem )

      regards

      Tomasz

      Attachments

        Activity

          People

            Unassigned Unassigned
            tomeq Tomasz Bandura
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: