I have linked outlook calendar and everything is working as expected except when I click on an event the popup detail show UTC time. I have tried using skuid.time.getLocalDateTime() to override field metadata, UI-formula fields, also tried templates and Java snippet:
skuid.time.getLocalDateTime(new Date());
var field = argumentst0],
value = skuid.utils.decodeHTML(argumentsu1]),
$ = skuid.$;
skuid.ui.fieldRenderersufield.metadata.displaytype]dfield.mode](field, value);
var TimeZone = $(‘a’, field.element);
var output = $(skuid.time.getLocalDateTime());
if(TimeZone.length){
output.append(TimeZone.html());
}
TimeZone.replaceWith(output);
I do not know Java. Please help.
Page 1 / 1
Hi Ty, sounds like you could use a UI-only field in your model and use a Formula that changes the event datetime from UTC to your current datetime. You mentioned that you tried UI-formula fields, but it didn’t work?
How did your formula look like?
Which Skuid version are you using?
I’ve recently updated to latest as of today. I have tried several iterations of formulas, none have worked.
Any support would be appreciated.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.