Quantcast
Channel: SCN: Message List - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 8124

Re: Odata, XML, DateTimeInput & Databinding

$
0
0

Hi,

 

thanks for your help but i would like to have a snippet using databinding.

 

When looking in the ODataModel ( http://localhost:8080/myService/MyODataSample.svc/Drivers(3) ) : this date is <d:LicenceDate>2014-09-05T22:00:00</d:LicenceDate>

Whereas in the app, the error message shows it as :  Sat Sep 06 2014 00:00:00 GMT+0200 (Romance Standard Time)


I would like to build my xml view as fellow :

<DateTimeInput id="inputLicenceDate" type="Date" placeholder="Enter driver's licence date"                                                value="{LicenceDate}"  valueFormat=????"                                                 />


I tried some valueFormat but "yyyy-mm-ddTHH:MM:ss.ms GMTZ" and others do not work.


Regards,

Marc


Viewing all articles
Browse latest Browse all 8124

Trending Articles



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