on 09-13-2017 5:31 AM
If we generate a Fiori Elements list report that contains a date field... there does not seem to be any annotations that allow us to set the display formatting like we can with a normal sapui5 application.
So for example I just get this when run in the WebIDE:
9/13/2017
When deployed to or local Gateway Server we get:
12.09.2017
Does anyone know how we can change these to be: "12 Sep 2017" for example?
Hi Jason,
Extensions can help you. Add a column extension and use this to display date
<m:Text text="{path : 'datefrombackend', type : 'sap.ui.model.type.Date', formatOptions: { pattern: 'MMM dd,yyyy HH:mm' }}"/>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.