Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: extras
    • Labels:
      None

      Description

      With extras.DateField control, I want to display a date string
      like "2007/09/02". I used setFormatPattern method with the
      argument "yyyy/MM/dd". But it only displayed "2007/09/2".

      I suggest to use "%d" for the format pattern "dd"
      at line 725 in DateField.java. Please see the attached patch.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        80d 19h 56m 1 Naoki Takezoe 07/Jan/08 02:21
        Resolved Resolved Closed Closed
        35d 1h 43m 1 Malcolm Edgar 11/Feb/08 04:05
        Henri Yandell made changes -
        Project Import Fri Mar 20 14:11:32 PDT 2009 [ 1237583492744 ]
        Malcolm Edgar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Naoki Takezoe made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        Naoki Takezoe added a comment -

        Patch commited.

        Show
        Naoki Takezoe added a comment - Patch commited.
        Malcolm Edgar made changes -
        Assignee Malcolm Edgar [ medgar ] Naoki Takezoe [ takezoe ]
        Hide
        Malcolm Edgar added a comment -

        Please commit this patch

        Show
        Malcolm Edgar added a comment - Please commit this patch
        Hide
        Naoki Takezoe added a comment -

        Malcolm,

        Can I commit this patch?
        I tested this patch and the topic about date format patterns in JavaScript calendar documentation:
        http://www.dynarch.com/demos/jscalendar/doc/html/reference.html#node_sec_5.3.5

        Show
        Naoki Takezoe added a comment - Malcolm, Can I commit this patch? I tested this patch and the topic about date format patterns in JavaScript calendar documentation: http://www.dynarch.com/demos/jscalendar/doc/html/reference.html#node_sec_5.3.5
        Itou Akihiro made changes -
        Field Original Value New Value
        Attachment DateField.patch [ 10304 ]
        Itou Akihiro created issue -

          People

          • Assignee:
            Naoki Takezoe
            Reporter:
            Itou Akihiro
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development