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

Openmrs:FormatDate tag doesn't localize when using the "format" attribute

    XMLWordPrintable

    Details

    • Complexity:
      Low

      Description

      For example, if you have the tag <openmrs:formatDate date="${patient.birthdate}" format="dd/MMM/yyyy}">, the names of the months won't be localized to the appropriate language.

      In FormatDateTag.java, we should use SimpleDateFormat(format, Context.getLocale()) instead of SimpleDateFormat(format).

        Attachments

          Activity

            People

            Assignee:
            mogoodrich Mark Goodrich
            Reporter:
            mogoodrich Mark Goodrich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: