Hi all,
I want to change the date format from a Date field in my EditorArea.
At the moment it looks this way:
Editor area xml looks the following way:
<?xml version="1.0" encoding="UTF-8"?>
<editor>
<group qualifier="General" visible="true" initially-opened="true">
...
<property qualifier="MyModel.openingSchedule.openingDays" visible="true" />
...
</group>
</editor>
The opening days is a list with several days.
And my base Editor for openingDays (resp. WeekdayOpeningDay) looks so:
<?xml version="1.0" encoding="UTF-8"?>
<base xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="base.xsd">
<label>
<property qualifier="WeekdayOpeningDay.dayOfWeek"/>
<property qualifier="WeekdayOpeningDay.openingTime" />
<property qualifier="WeekdayOpeningDay.closingTime" />
</label>
</base>
OpeningTime and closingTime are Dates and dayOfWeek is an Enum. I use this base.xml to show the details of the openingDay and not just the pk.
I would like to change the Date format in the following way: MONDAY - 08:00:00 - 18:00:00 --> Only the Enum Value and the times.
In addition to that I would like to have an editor for the times, so that I can change them.
Do you have any idea how to change the display of the date?