From: Peter B. <mr_...@us...> - 2005-10-11 10:05:49
|
Update of /cvsroot/stud/stud In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4915 Modified Files: booking Log Message: B:1185012. Implemented workaround for RFE:528049 Index: booking =================================================================== RCS file: /cvsroot/stud/stud/booking,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** booking 21 Apr 2005 13:00:59 -0000 1.30 --- booking 11 Oct 2005 10:05:56 -0000 1.31 *************** *** 1477,1481 **** $i++; ! $out .= "<tr><td>$ball<a href=\"$url?club=$club&category=$category&item=$_\">$$items{$_}{title}</a></td><td>$$items{$_}{added_date}</td></tr>\n"; if ($listLength == $i) { last; --- 1477,1485 ---- $i++; ! ! # Patch for BUG 1185012, fixes that month is stored zero-based ! $$items{$_}{added_date} =~ /(.*-)([0-9]+)(-.*)/; ! my $corrDate = sprintf("%s%02d%s", $1, $2+1, $3); ! $out .= "<tr><td>$ball <a href=\"$url?club=$club&category=$category&item=$_\">$$items{$_}{title}</a></td><td>$corrDate</td></tr>\n"; if ($listLength == $i) { last; |