--- db2gantt.cgi 2002/09/13 22:48:19 1.13
+++ db2gantt.cgi 2002/09/13 23:59:38 1.14
@@ -75,10 +75,12 @@
}
print "Content-type: text/html
+Cache-Control: max-age=60, must-revalidate
-OmniBack Gantt: $from - $to";
+OmniBack Gantt: $from - $to
+";
if ($use_js) {
print '
@@ -246,6 +248,9 @@
print STDERR "[middle filler $curr_t:$t]" if ($debug);
print bar($t);
$curr_t = $start_t;
+ } else {
+ # prepend too few seconds to next event
+ $start_t = $curr_t;
}
my $len = $fin_t - $start_t;
@@ -312,5 +317,5 @@
# it will first evaluate bar sub (thus increasing number by one) and
# then display number (wrongly).
}
-print "\nReload url(-relative=>1),"\">current.
";
+print "\nReload url(-relative=>1),"\">current or see help.