on 07-25-2016 1:35 PM
Hi,
according to this example, i am trying to display a date (stored as UTC - SECONDDATE on the HANA) on my XML-View formatted as UTC:
While the following code displays the date (non-formatted),
<mvc:View xmlns:mvc="sap.ui.core.mvc" xmlns:c="sap.ui.core"
xmlns:f="sap.ui.layout.form" xmlns:l="sap.ui.layout" xmlns:t="sap.ui.table"
xmlns="sap.m">
<t:Table id="idUrgencyOfRequests" inset="false" rows="{/ChargingOrders}">
<t:Column width="auto">
<Label text="Arrival" />
<t:template>
<Text text="{ARRIVAL}" />
</t:template>
</t:Column>
this does not (nothing is displayed):
<mvc:View xmlns:mvc="sap.ui.core.mvc" xmlns:c="sap.ui.core"
xmlns:f="sap.ui.layout.form" xmlns:l="sap.ui.layout" xmlns:t="sap.ui.table"
xmlns="sap.m">
<t:Table id="idUrgencyOfRequests" rows="{/ChargingOrders}">
<t:Column width="auto">
<Label text="Arrival" />
<t:template>
<Text
text="{path: 'ARRIVAL',
type: 'sap.ui.model.type.DateTime',
formatOptions: {pattern: 'yyyy-MM-dd\'T\'HH:mm:ss',
UTC: true}
}" />
</t:template>
</t:Column>
Any ideas?
Best Regards,
Tobias
is it a caching issue? can you close your browser windows completely and retry??
can you show a screenshot?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.