Committer: ailyin
LJSUP-11603 (optimize performance of S2 comments pages)U trunk/cgi-bin/LJ/S2/EntryPage.pm
Modified: trunk/cgi-bin/LJ/S2/EntryPage.pm =================================================================== --- trunk/cgi-bin/LJ/S2/EntryPage.pm 2012-03-23 14:23:52 UTC (rev 21536) +++ trunk/cgi-bin/LJ/S2/EntryPage.pm 2012-03-26 07:39:22 UTC (rev 21537) @@ -146,8 +146,7 @@ my $tz_remote; if ($remote) { - my $tz = $remote->prop("timezone"); - $tz_remote = $tz ? eval { DateTime::TimeZone->new( name => $tz); } : undef; + $tz_remote = $remote->prop('timezone') || undef; } my $pics = LJ::Talk::get_subjecticons()->{'pic'}; # hashref of imgname => { w, h, img }