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-21 14:25:29 UTC (rev 21495) +++ trunk/cgi-bin/LJ/S2/EntryPage.pm 2012-03-21 14:44:47 UTC (rev 21496) @@ -188,7 +188,7 @@ # local time in mysql format to gmtime my $datetime = DateTime_unix($com->{'datepost_unix'}); - my $datetime_remote = $tz_remote ? DateTime_tz($com->{'datepost_unix'}, $tz_remote) : undef; + my $datetime_remote = $tz_remote || undef; my $seconds_since_entry = $com->{'datepost_unix'} - $entry->logtime_unix; my $datetime_poster = DateTime_tz($com->{'datepost_unix'}, $pu);