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

tc:out should return the local date

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.1
    • 2.1.5, 3.0 Final
    • taglibs
    • None
    • WinXP jdk1.5.0_09 tomcat5.5.20

      tc:out returns UTC formatted date which is not the local date/time.
      using format() instead of formatUTC returns the exact date.

      I've compared the dates in the dialogs with those displayed in the paragraph
      and also tried to display the date with el: ${node.date.time}
      In both cases the dates were 1 hour earlier (???) then the one from <tc:out..>
      which is my TimeZone GMT+1, i guess

      I could send you patch if you like

        Acceptance criteria

              pbaerfuss Philipp Bärfuss
              fleka Stojan Peshov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: