Details
-
Bug
-
Status: Closed
-
Must
-
Resolution: Fixed
-
OpenMRS 1.6.4, OpenMRS 1.7.3, OpenMRS 1.8.3, OpenMRS 1.9.0
-
None
-
Low
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).