Fix /mobile/read by allowing dateformats to work for old format callers.
Patch by kareila.
diffs (12 lines):
diff -r a4aafb942b4d -r 149a683e172b cgi-bin/LJ/Entry.pm
--- a/cgi-bin/LJ/Entry.pm Tue Aug 18 15:37:54 2009 -0500
+++ b/cgi-bin/LJ/Entry.pm Wed Aug 19 06:25:09 2009 +0000
@@ -1594,7 +1594,7 @@ sub get_log2_recent_user
}
# date conversion
- if ($opts->{'dateformat'} eq "S2") {
+ if ( ! $opts->{'dateformat'} || $opts->{'dateformat'} eq "S2" ) {
$item->{'alldatepart'} = LJ::alldatepart_s2($item->{'eventtime'});
# conversion to get the system time of this entry
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog