OData Edm.DateTime - How to Display Date Only

前端 未结 2 1777
北恋
北恋 2021-01-23 00:25

In UI5, my OData is returning the date in the following format:

Mon Apr 09 2018 01:00:00 GMT+0100 (GMT Daylight Time)

I would like t

2条回答
  •  失恋的感觉
    2021-01-23 01:06

    Have you tried using a formatter-function ?

    path : 'MyoDataService>ExecuteDay',
         formatter : function(value) {
           return /* your format logic here */;
         }
    

提交回复
热议问题