Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-3072

Changing states in program enrollments portlet handles dates incorrectly in Portuguese, Italian, and Spanish locales.

    XMLWordPrintable

Details

    Description

      the patientPrograms.jsp file (in the portlets folder) still has some really old hacky code I wrote in 2006 to format and parse dates. It specifically treats the en_GB and fr locales as DMY, and all others as MDY.

      First, do a quick-fix to also treat pt, it, and es as DMY, and get this committed ASAP.

      Then, refactor this portlet to use a proper library function for date conversion (and remove my hacky 2006-era code).

      Gliffy Diagrams

        Attachments

          1. TRUNK-3072-1.6.patch
            5 kB
          2. TRUNK-3072-1.6.x-Temp.patch
            1 kB
          3. TRUNK-3072-1.7.patch
            6 kB
          4. TRUNK-3072-1.7.x-Temp.patch
            1 kB
          5. TRUNK-3072-1.8.patch
            7 kB
          6. TRUNK-3072-1.8.x-Temp.patch
            1 kB

          Activity

            People

              skathol Spencer Kathol
              darius Darius Jazayeri
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: