Skip to Content
0
Aug 04, 2020 at 08:25 AM

SAP Fiori/UI5 Smart table Date format

138 Views

Hi All,

We are using the Smart table with custom grid design in which we have a date and time field column.

The date and time field column is not a custom column. The issue here is we are fetching the data from the backend oData service in which the date shows in the below format.

<d:dattim_crt>2020-06-15T13:16:37Z</d:dattim_crt>

But in the UI, the date filed has the below format in which the date and time shows +5:30 hours(our local time India).

Jun 15, 2020, 6:46:37 PM

Our requirement is to display the date and time in UI as consitent as backend data.

Thanks for your support.