( It affects the mask of the timeField component )
WHAT SEEMS TO WORK:
In order to get 12hr formatting to work, I have to use do the following: 1. Ensure that my messages.properties file does not define “timeFormat” 2. In my Entity editor screen:
timeFormat still can be defined either in message.properties or as a constant value in screen descriptor/controller (see demo). In order to have 12-h mode, you need to define an independent timeMode="H_12" attribute.
@gorelov, I have tried that but it does not work. I suspect that there is a bug.
Please watch following video recording I made in order to demonstrate the bug:
Thank you for the video with detailed explanations. The problem is that timeFormat can’t be used to change timeMode to 12-h, i.e. you can’t use a in your timeFormat. As I mentioned above, for the 12-h format, you need to define timeMode="H_12". But you still can use timeFormat to change time format, e.g.: