clinical dashboard banner date person attribute is appearing in "yyyy-MM-dd'T'HH:mm:ss.SSS'Z" format

When we are trying to display date person attribute in clinical banner, its getting displayed in " yyyy-MM-dd'T'HH:mm:ss.SSS'Z" format.


1.Create a person attribute with “org.openmrs.util.AttributableDate” format.

2.Add the person attribute name in …/bahmni_config/openmrs/apps/clinical/app.json under "patientContext": {} section.

3.Fill the value of newly created person attribute from registration page.

4.Go to clinical dashboard.

5.Respective person attribute will appear in Clinical Banner.

The date saved in Registration page is in “dd/mm/yyyy” format.

In openmrs DB its getting saved in “yyyy-MM-dd’T’HH:mm:ss.SSS’Z” format.

While rendering in clinical dashboard, its still getting displayed in “yyyy-MM-dd’T’HH:mm:ss.SSS’Z” format.

Expectation is to get displayed in “dd/mm/yyyy” format.

@angshuonline @praveenad @binduak

1 Like