It seems the SP data repository and front-end SP list use two different timezones. when I get a date from version history it is different from what is actually shown in the SP list, how can I fix this?
Below is the sample, "was" is coming from the data repository through version history API (_api/web/lists/getbytitle('')/items()/versions?$top=1), and "is" from the sp list through triggerbody().