Skip to Content

SAP Fiori/UI5 Smart table Date format

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.