]> i-scream Git - www.i-scream.org.git/commitdiff
Added option to show commits since a given date:
authorTim Bishop <tim@bishnet.net>
Sun, 9 Dec 2001 00:25:48 +0000 (00:25 +0000)
committerTim Bishop <tim@bishnet.net>
Sun, 9 Dec 2001 00:25:48 +0000 (00:25 +0000)
cvslog.cgi?period=since&days=2001/12/09

It should be noted that the defintion of "since" in this case does NOT
include the day given.

cgi-bin/cvslog.cgi

index 565323444b6aa244a191250b80ed9ce1fc727961..c234d8f28a3efd3f075cdc9e9e3d17fb49b78ec1 100755 (executable)
@@ -22,6 +22,12 @@ elsif($period eq "date") {
     $heading = "i-scream CVS$moduleext commits on $date";
     $firstdate = "$date 00:00<$date 23:59"
 }
+elsif($period eq "since") {
+    my($date)=$query->param('date');
+    $date = `/bin/date \"+%Y/%m/%d\"` unless defined $date;
+    $heading = "i-scream CVS$moduleext commits since $date";
+    $firstdate = ">$date";
+}
 elsif($period eq "thisweek") {
     $firstdate = ">last Sunday";
     $heading = "i-scream CVS$moduleext commits this week";