Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-690

DatePicker doesn't render time units smaller than day as zeros, inside HTML text field

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      4.0-beta-9

      Description

      Although DatePicker cannot specify time units smaller than day, so sets them to zero, it would be good to leave them as they are and render properly inside HTML text field, meaning, only to affect time units larger than zero. Tapestry would practicaly get component for setting date and time, which I find terribly needed, in a way that user could pick date, and have to manually set time.

      Currently, setting DatePicker with pattern such as following :
      <input jwcid="@DatePicker" value="ognl:fooTime" translator="translator:date,pattern=dd/MM/yyyy HH:mm"/>
      Produces HTML text field populated with something like:
      04/10/2005 HH:mm

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              vjeran@tis.hr Vjeran Marcinko
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: