How do I display local time instead of UTC?
The situation we are encountering is that we are pulling data from Windchill and the date information is stored as UTC. In Windchill the date displays correctly, as local time, as the customer expects. However, when we pull that data into Thingworx and display in a grid, the date remains UTC.
Example: LastModified in Windchill happened 11/06/2020 at 11:31 AM Eastern. The stored value for the time 16.31, which is correct due to UTC/Daylight Savings. If you view the date in Windchill, the UI displays 11:31.
Now, if we pull that data into a Thingworx grid, it displays as 16:31. If we change the localization token to one that incorporates Z (yyyy-MM-dd HH:mm Z), it results in: "2020-11-06 16:31 -0500"... so it KNOWS what time zone we are in, and whether DST should apply or not.
How do we get it to display "2020-11-06 11:31"? This doesn't seem like it should be terribly difficult, but I'm obviously missing something.
Thanks,
Tony

