madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20494: LJSUP-10310: Dates are incorrect for del...

Committer: sbelyaev
LJSUP-10310: Dates are incorrect for delayed entry on recent entries page
U   trunk/cgi-bin/ljviews.pl
Modified: trunk/cgi-bin/ljviews.pl
===================================================================
--- trunk/cgi-bin/ljviews.pl	2011-11-08 09:39:43 UTC (rev 20493)
+++ trunk/cgi-bin/ljviews.pl	2011-11-08 11:24:03 UTC (rev 20494)
@@ -2917,7 +2917,7 @@
     
     my $append_delayed = sub {
         foreach my $ditem (@$delayed_entries) {
-            my $entry = LJ::DelayedEntry->get_entry_by_id($u, $ditem);
+            my $entry = LJ::DelayedEntry->get_entry_by_id($u, $ditem, {'dateformat' => 'S1'} );
             
             push @ordered, {
                             'alldatepart' => $entry->alldatepart ,

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