The dates are currently hard-coded with an example in this ticket for appointment scheduling ui https://issues.openmrs.org/browse/RA-1561
@mogoodrich How is this being handled in the react-components?
@dkayiwa Do you have any suggestions based on your work with @Andela team?
It’s not being handled particularly well in react-components… right now have a “dateFormat” util method so that we don’t hard it everywhere, but in the util method that date is hardcoded:
I do agree that this method should be expanded so that it used the date format defined as a global property.
Tangentially, before we did this in react-components I want to create a react-components “global property store” so that the formatDate method doesn’t need to fetch the GP every time it formats a date!