# Condition List Date format in RefApp 2.x

**URL:** <https://talk.openmrs.org/t/condition-list-date-format-in-refapp-2-x/39136>\
**Category:** Ask OpenMRS\
**Tags:** condition, refapp, developers-forum\
**Created:** [March 24, 2023, 10:28am UTC](https://talk.openmrs.org/t/condition-list-date-format-in-refapp-2-x/39136 "2023-03-24T10:28:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nischith](https://talk.openmrs.org/user_avatar/talk.openmrs.org/nischith/32/13088_2.png) [@nischith](https://talk.openmrs.org/u/nischith)\
**Post date:** [March 24, 2023, 10:28am UTC](https://talk.openmrs.org/t/condition-list-date-format-in-refapp-2-x/39136/1 "2023-03-24T10:28:05Z")

</div>

This is in the context of the latest ConditionList Widget ( _coreapps-1.39.0_/ RefApp 2.12/ Core 2.5.8)

Both on our installation and on the [QA server](https://qa-refapp.openmrs.org/openmrs/login.htm) the default date format is of the form “yyyy-MM-dd”

![image](https://talk.openmrs.org/uploads/default/original/3X/b/2/b2f0f179e6c68e46c28df2dadf89e27454f81c13.png)

Where should the date format be configured for this widget?

Thanks!

cc: @ibacher @mseaton @dkayiwa

---

<div class="post-metadata">

**Author:** ![mseaton](https://talk.openmrs.org/user_avatar/talk.openmrs.org/mseaton/32/8088_2.png) [@mseaton](https://talk.openmrs.org/u/mseaton)\
**Post date:** [March 24, 2023, 12:01pm UTC](https://talk.openmrs.org/t/condition-list-date-format-in-refapp-2-x/39136/2 "2023-03-24T12:01:45Z")

</div>

@nischith - are you sure you are using coreapps 1.39.0? The latest released version of coreapps is 1.38.0. I have recently introduced a fix into 1.39.0-SNAPSHOT to address the format of the Onset Date. In the latest snapshot it is pulled from the `uiframework.formatter.JSdateFormat` global property, defaulting to `DD MMM YYYY` in the user’s current locale.

---

<div class="post-metadata">

**Author:** ![nischith](https://talk.openmrs.org/user_avatar/talk.openmrs.org/nischith/32/13088_2.png) [@nischith](https://talk.openmrs.org/u/nischith)\
**Post date:** [March 24, 2023, 2:35pm UTC](https://talk.openmrs.org/t/condition-list-date-format-in-refapp-2-x/39136/3 "2023-03-24T14:35:26Z")

</div>

@mseaton

I was indeed using coreapps 1.39.0-SNAPSHOT but it was just a few days old. After you mentioned, I did observe that quite a few commits have been made by you over the last 2 days.

These commits have fine tuned and corrected quite a few glitches in the Widget. Thanks a lot for all the work!

Also, after pulling in all the latest commits into the local installation, the Date format issue has been sorted!

Thanks!
