From 679854b8bbc65d112071111bbd7f34a6a481fb30 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 4 Jun 2013 00:21:24 -0700 Subject: RT 4.0.13 --- rt/share/html/Elements/ShowCustomFieldDate | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rt/share/html/Elements/ShowCustomFieldDate') diff --git a/rt/share/html/Elements/ShowCustomFieldDate b/rt/share/html/Elements/ShowCustomFieldDate index 8c94c131c..4cfb96596 100644 --- a/rt/share/html/Elements/ShowCustomFieldDate +++ b/rt/share/html/Elements/ShowCustomFieldDate @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -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'); <%$content|n%> <%ARGS> -- cgit v1.2.1