Skip to Content
0

SAPUI5 - How do you ignore daylight saving?

Feb 23, 2017 at 05:08 PM

57

avatar image

I retrieve oData from a SAP Gateway service for my SAPUI5 application.

If the data is after 26 March, +1 hour is added to the time (this is because of my PC's time/date settings) (GMT)

How do I stop SAPUI5/oData from doing this as it's returning incorrect data from filters....

Regards

Adam.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Srikanth KV Feb 23, 2017 at 05:36 PM
0

First you need to determine if the given date is daylight saving or not, based on that adjust time and create UI5 filter.

Check this link

Share
10 |10000 characters needed characters left characters exceeded