[Jifty-commit] r5786 - jifty/trunk/lib/Jifty/Plugin/Comment

Jifty commits jifty-commit at lists.jifty.org
Wed Sep 3 02:23:30 EDT 2008


Author: yves
Date: Wed Sep  3 02:23:29 2008
New Revision: 5786

Modified:
   jifty/trunk/lib/Jifty/Plugin/Comment/View.pm

Log:
display comments with registred created_on time and not DateTime->now


Modified: jifty/trunk/lib/Jifty/Plugin/Comment/View.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Comment/View.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/Comment/View.pm	Wed Sep  3 02:23:29 2008
@@ -126,7 +126,7 @@
             $poster = qq{<a href="@{[$comment->web_site]}">$poster</a>}
                 if $comment->web_site;
 
-            my $created_on = Jifty::DateTime->now;
+            my $created_on = $comment->created_on;
 
             p { 
                 outs_raw _('By %1 %2', 


More information about the Jifty-commit mailing list