on 07-28-2020 10:54 AM
Hello ,
I am using SAP Cloud Platform and I am trying to update the data to one of my HDI Containers using XSODATA.
I was able to update data into my HDI Containers. But ChangedOn Field is always getting a wrong time in DB.
Assume time now is 11:56 AM in Italy. and If I click on save , it shows me LASTCHANGEDON : 11:56 (GMT +2 HOURS Central European Summer Time)
but when I look into the DB ,It shows me 28-07-2020 09:56:00 something like this. I can always see 1 or 2 hours difference in the UI. May I know how to save the correct value in DB and also show the same in UI without any offset hours.
Looks fine to me when the DB stores the time in UTC. Display in the frontend UI5 app converts it to the timezone set in the Operating System of the Browser. Have you looked on the OData payload?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.