Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-4502

dateFormat and timeFormat doesn't work for control date

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 4.5.3
    • Fix Version/s: 4.5.9
    • Component/s: None
    • Labels:
      None
    • Magnolia Release:
      4.5.9

      Description

      The date control contains properties dateFormat, timeFormat, jsDateFormat and jsTimeFormat.

      These values are ignored by the control. When checking the source code DialogDate.java, it was implemented in 4.4.7:

      String format = this.getConfigValue("dateFormat", "yyyy-MM-dd");

      but in 4.5 the function was removed:

      String format = "yyyy-MM-dd"; //$NON-NLS-1$

      Why is that? We need to customise the time (remove the seconds).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mdivilek Milan Divilek
              Reporter:
              omontan Ola Montan
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: