time: include year;
authorwenzelm
Tue Sep 19 20:58:05 2006 +0200 (2006-09-19)
changeset 20612706c22b3a8fb
parent 20611 ef4661e2e602
child 20613 8f2731bfe86f
time: include year;
Admin/isatest-statistics
     1.1 --- a/Admin/isatest-statistics	Tue Sep 19 20:53:42 2006 +0200
     1.2 +++ b/Admin/isatest-statistics	Tue Sep 19 20:58:05 2006 +0200
     1.3 @@ -58,7 +58,7 @@
     1.4          my $m = $6;
     1.5          my $s = $7;
     1.6  
     1.7 -        my $date = $month - 1 + ($day - 1) / 31;
     1.8 +        my $date = $year + ($month - 1) / 31 + ($day - 1) / 365;
     1.9          my $time = ($h * 3600 + $m * 60 + $s) / 60;
    1.10  
    1.11          printf "%s %.2f %.2f\n", $name, $date, $time;
    1.12 @@ -71,7 +71,7 @@
    1.13    gnuplot <<EOF
    1.14  set terminal png
    1.15  set output "${SESSION}.png"
    1.16 -plot [] [0:40] "$SESSION_DATA" using 2:3 title "$SESSION" smooth sbezier, "$SESSION_DATA" using 2:3 title "$SESSION" smooth csplines
    1.17 +plot [] [0:50] "$SESSION_DATA" using 2:3 title "$SESSION" smooth sbezier, "$SESSION_DATA" using 2:3 title "$SESSION" smooth csplines
    1.18  EOF
    1.19  done
    1.20