Linked calendar event details showing in UTC

  • 1
  • Question
  • Updated 5 months ago
  • In Progress
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 = arguments[0],
        value = skuid.utils.decodeHTML(arguments[1]),
        $ = skuid.$;    
        skuid.ui.fieldRenderers[field.metadata.displaytype][field.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.
Photo of Ty Fisher

Ty Fisher

  • 140 Points 100 badge 2x thumb

Posted 6 months ago

  • 1
Photo of Luzie Baumgart

Luzie Baumgart, Official Rep

  • 3,542 Points 3k badge 2x thumb
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?
Photo of Ty Fisher

Ty Fisher

  • 140 Points 100 badge 2x thumb
I've recently updated to latest as of today.  I have tried several iterations of formulas, none have worked.

Any support would be appreciated.