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

        Hide
        Naoki Takezoe added a comment -

        Patch commited.

        Show
        Naoki Takezoe added a comment - Patch commited.
        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development