Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-4312

Joda Time 0.98 produces incorrect formatting for some dates.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: High High
    • None
    • 1.4.4, 2.0
    • None

      Joda 0.98 produces incorrect formatting for certain date patterns - but only on some platforms. On Windows and OSX it will work correctly. But on Linux and FreeBSD it will render incorrectly.

      For example, try rendering any date with the date pattern "MMM" or "MMMM". You should get the month being one month previous to what is expected (eg. January 24, 2005 will produce "Dec"). I can understand why Joda 1.x has not been upgraded to, since it breaks the API from 0.98, but 0.98 is inherrently untrustable, making it pretty much useless...

              Unassigned Unassigned
              david@randombits.org David Peterson
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: