‎2021 Apr 06 1:40 PM - edited ‎2024 Feb 04 1:15 AM
Hi everyone, I'm looking to change the Creation Time's Date format in this list view, how can I change it to dd-MM-yyyy format in -backoffice-config.xml?

I made this list view in the config.xml:
<context type="MyCustomObject" >
<context merge-by="type" parent="GenericItem" component="listview">
<list-view:list-view>
<list-view:column qualifier="code"/>
<list-view:column qualifier="creationtime"/>
</list-view:list-view>
</context>
</context>
Request clarification before answering.
<context parent="GenericItem" type="AbstractOrder" component="listview">
<list-view:list-view>
<list-view:column qualifier="code" />
<list-view:column qualifier="focusOrderNumber" />
<list-view:column qualifier="date.getDate()+'-'+date.getMonth()+1+'-'+(date.getYear()+1900)" label="type.AbstractOrder.date.name"/>
<list-view:column qualifier="totalPrice" />
<list-view:column qualifier="shipToUnit"/>
<list-view:column qualifier="user" />
</list-view:list-view>
</context>Note:You can specify any delimiter in place of '-'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Riccardo,
In which application are you working and in which list view? (it is not clear as you added quite some tags)
Did you check the Settings of the application? They hold a Date Format selection option.
Kr.
MJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.