/scripts/ahub.form.attachments.js
0

Agentry OpenUI datetime field time zone coversion

Mar 20, 2017 at 08:29 PM

26

avatar image
Former Member

I have an OpenUI control that is implemented as a UITextField in Objective-C (the field labeled "Taken On" in the image). I'm using this OpenUI control to display a datetime field coming down from Agentry. For an unknown reason the OpenUI control is assuming that the value being displayed needs to be converted from GMT time, so the time being displayed is four hours earlier than it should be. As you can see below the DatePicker is showing the current datetime in local US Eastern Daylight Time, but the value displayed in the OpenUI control has changed to four hours previous to current local time. Does anyone know how to stop OpenUI controls from trying to convert a datetime from GMT time?

Thanks

Tim Sheppard

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

0 Answers

Skip to Content