on 2019 Sep 27 2:59 PM
Hello Experts,
While displaying the timezone in Custom Fiori Application , facing the issue to show it properly.
In the Odata , Edm.Time is being used to pass the time. And in the front end we are receiving value as following ( Time is in CET)
"date": "PT13H05M31S"
But while binding its being displayed as :
1:05:31 pm GMTZ
Following is the code we used to bind it to control
<m:Text text="{ path: 'Model>date', type: 'sap.ui.model.odata.type.Time', formatOptions: { style: 'long' }, constraints: { nullable: true } }"/>
Request clarification before answering.
User | Count |
---|---|
52 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.