Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30641

Fix defaultTime in JSF Date widget to set the seconds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 10.10-HF54
    • Component/s: Seam / JSF UI
    • Release Notes Summary:
      The format used to display the defaultTime in Date widget is configurable.
    • Backlog priority:
      500

      Description

      Currently the default time on the Date widget is configured with a pattern which uses only hours and minutes

          protected void setDefaultTime(UICalendar instance) {
              SimpleDateFormat format = new SimpleDateFormat("HH:mm");
      

      The pattern should be modified to set the seconds too

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 15 minutes
                  1h 15m