madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20239: LJSUP-9832: fix dates

Committer: sbelyaev
LJSUP-9832: fix dates
U   trunk/cgi-bin/LJ/DelayedEntry.pm
Modified: trunk/cgi-bin/LJ/DelayedEntry.pm
===================================================================
--- trunk/cgi-bin/LJ/DelayedEntry.pm	2011-10-06 10:16:46 UTC (rev 20238)
+++ trunk/cgi-bin/LJ/DelayedEntry.pm	2011-10-06 10:51:57 UTC (rev 20239)
@@ -240,7 +240,7 @@
 
 sub prop {
     my ( $self, $prop_name ) = @_;
-    return $self->props->{$prop_name} || '';
+    return $self->props->{$prop_name};
 }
 
 sub url {
@@ -440,12 +440,12 @@
 
 sub eventtime_mysql {
     my ($self) = @_;
-    return $self->{alldatepart};
+    return $self->posttime;
 }
 
 sub logtime_mysql {
     my ($self) = @_;
-    return $self->{system_alldatepart};
+    return $self->system_posttime;
 }
 
 sub verticals_list_for_ad {

Tags: livejournal, madeon, pm, sbelyaev
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