juks (juks) wrote in changelog,
juks
juks
changelog

[ljcom] r10205: LJSUP-8076 March header non-cyr

Committer: iaskarov
LJSUP-8076 March header non-cyr
U   trunk/cgi-bin/LJ/Hooks/Homepage.pm
Modified: trunk/cgi-bin/LJ/Hooks/Homepage.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Homepage.pm	2011-03-09 11:39:17 UTC (rev 10204)
+++ trunk/cgi-bin/LJ/Hooks/Homepage.pm	2011-03-09 12:58:08 UTC (rev 10205)
@@ -1,5 +1,4 @@
 package LJ::LJcom;
-use Time::Local;
 use strict;
 
 sub _is_xbox_reskining_active {
@@ -55,7 +54,7 @@
     # my $dt = DateTime->new( year => 2011, month => 3, day => 17, hour => 0, minute => 0, second => 0, time_zone => $is_sup ? 'Europe/Moscow' : 'UTC', );
     # my $sp_start = $dt->epoch(); my $sp_end   = $sp_start + 86400;
     
-    my $cur_time = $is_sup ? gmtime() + 10800 : gmtime();
+    my $cur_time = $is_sup ? time() + 10800 : time();
 
     # 2011-03-17 till 2011-03-17 in GMT and MSC 
     if($is_sup) {

Tags: juks, ljcom, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments