[dw-free] Removal of S1 has broken the dreamwidth.org/mobile page
[commit: http://hg.dwscoalition.org/dw-free/rev/149a683e172b]
http://bugs.dwscoalition.org/show_bug.cgi?id=1628
Fix /mobile/read by allowing dateformats to work for old format callers.
Patch by
kareila.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1628
Fix /mobile/read by allowing dateformats to work for old format callers.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/LJ/Entry.pm
-------------------------------------------------------------------------------- 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 --------------------------------------------------------------------------------