Is there a way to show only the date and time without the seconds?

Platform Version: 1.11.4 OpenMRS Version: 2.3

Question: On an HTML form, I would like to have the date-time widget of an obs show the Date and Time (Hour and Minutes), without the seconds field. Is it possible to “hide” the seconds box?

Or, is there a way to make the time fields smaller in the SimpleUI and StandardUI of the Reference Application?

1 Like

There should be a way… :smile:

I know we’d run into this before, but I don’t know if we ever built the solution for it.

Ideally, the obs and encounterProvider tags would have a “hideSeconds” attribute that hide the seconds down-down (regardless of whether in the reference app UI or the old-school UI)

Mark

Great! I’ve created a ticket…