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

DateUtil ignores locale for custom date format string

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.6, 3.5.9
    • 3.5, 3.5.1, 3.5.2, 3.5.3, 3.5.4, 3.5.5, 3.5.6, 3.5.7, 3.5.8, 3.6-m1, 3.6-m2, 3.6-m3
    • core
    • None

      If the <cms:out> tag is used for a date and a custom date format and date language is used then date language is ignored. This can be observed in the Mangolia samples module on a page of the type "Developer's showroom" and a paragraph of the type " Developer's showroom: Date control". In the section "dateLanguage (samples):" all dates are formatted with the language of the system instead of English, German and Finnish.

      • bugfix is attached
      • test case attached

        Acceptance criteria

          1. DateUtilTest.java
            1 kB
          2. DateUtil.java.patch
            0.6 kB
          3. DateUtil.java
            8 kB

              pbaerfuss Philipp Bärfuss
              pmm Philippe Marschall
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD