]> git.uio.no Git - usit-rt.git/blobdiff - share/html/Elements/ShowCustomFieldDate
Dev to 4.0.11
[usit-rt.git] / share / html / Elements / ShowCustomFieldDate
index 64bedfdf2e738f974b24261da8494c2da9764410..4cfb965964af92a4ab64d0036630b09c642db6d3 100644 (file)
@@ -48,8 +48,8 @@
 <%INIT>
  my $content = $Object->Content;
  my $DateObj = RT::Date->new ( $session{'CurrentUser'} );
- $DateObj->Set( Format => 'unknown', Value => $content );
- $content = $DateObj->AsString(Time => 0);
+ $DateObj->Set( Format => 'unknown', Value => $content, Timezone => 'utc'  );
+ $content = $DateObj->AsString(Time => 0, Timezone => 'utc');
 </%INIT>
 <%$content|n%>
 <%ARGS>