Pass in as unix time, not as a date string.

        Patch by fu. 

diffs (12 lines):

diff -r f8088d524458 -r bfb304746e81 htdocs/admin/faq/readcat.bml
--- a/htdocs/admin/faq/readcat.bml      Fri Feb 04 12:36:34 2011 +0800
+++ b/htdocs/admin/faq/readcat.bml      Fri Feb 04 15:59:39 2011 +0800
@@ -63,7 +63,7 @@ body<=
     foreach my $faq ( sort { $a->sortorder <=> $b->sortorder } @faqs ) {
         my $q = $faq->question_html;
         next unless $q;
-        BML::note_mod_time( $faq->lastmodtime ); 
+        BML::note_mod_time( $faq->unixmodtime );
         $q =~ s/^\s+//; $q =~ s/\s+$//;
         $q =~ s!\n!<br />!g;
         my $s = ( LJ::is_enabled( 'faq_summaries') && $faq->has_summary )
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to