Time Concept showing Date

Hello all, I noticed that if you create a time concept. the concept will show a date along with the time. For example, After saving the form the concept will show the following:

Time01.Feb.1900, 07:00:00

This is for any concept with time datatype. Anyone can help me to remove the date .

Thanks

@yadamz, what screens is this behavior showing on? (You’ve certainly found a bug, I’m just now sure which modules we’d ned to fix it in.)

It is from the visit screen . I have tested it on 2.0.4 and 2.0.5

@yadamz can you reproduce it on this server for my testing? qa-refapp.openmrs.org

@yadamz i have also attached a compiled module on this ticket for you to test: https://issues.openmrs.org/browse/RA-1360

Done @dkayiwa Form Name : Test Time Concept ConceptId: 163140 Patient John mith

@dkayiwa I forgot to mention that I reproduced the same problem on the server you indicated

This server should now have an updated version of the uiframework module. Can you test again?

@dkayiwa @darius I have tested the change and I could not reproduce the error. Good work ! Where do I find the update module. what is the module version number

Thanks very much for your help

I attached a copy on the ticket mentioned on this thread.

Thanks @darius and @dkayiwa for your great work on this request … The new module attached above removes the date … however , I recently realised that the concept records Time 0:00 whether if you didn’t entered a new observation . Let me explain more , usually concepts will show on patient dashboard only if you gave it a value /answer . Now , the time concept shows a value of 00:00 in case you didn’t enter a time. So it provides an time observation of 00:00 without entering this information

Any idea whats wrong ?

Thanks again

Are you able to show this at? qa-refapp.openmrs.org

Yes @dkayiwa . The form name is time . It is located under General Actions. Here is a screen shot

Can you give me the exact url that leads to this screen?

Here you go @dkayiwa https://qa-refapp.openmrs.org/openmrs/coreapps/patientdashboard/patientDashboard.page?patientId=323&&visitId=2383&encounterId=5625

Can you create a ticket for this in the UI Framework JIRA project?

Before you create the ticket, i need some clarity. How many time widgets do you have on your form? I tend to see many. Can you have just one?

Yes @dkayiwa One is fine. In our forms, we might have more than one for repeated occurrences.

Here you go @dkayiwa https://issues.openmrs.org/browse/RA-1378

One just for troubleshooting purposes.