Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Date corrections issue in UI

$
0
0

Hi All,

 

I am trying to change the date format that shows as GMT time zone with day and month in words. Image attached. Following is the code from View.js.

 

 

 

oControl = new sap.ui.commons.TextField({

            editable: false

        }).bindValue('ACTIVATED_AT', function(value) {

            return value;

        });

        oTableObjects.addColumn(new sap.ui.table.Column({

            label: new sap.ui.commons.Label({

                text: "Activated at"

            }),

            template: oControl

        }));

 

I have looked at the blogs but could not interpret the logic because in my case its coming from OData Model.

 

Formatting a date from an ODataModel in a SAPUI5 table

Working with OData Dates and Times


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>