Don't mix debug messages with graph. Image viewers don't like that :-).
This commit is contained in:
parent
0e56ed880b
commit
fecfa0af0a
|
@ -131,11 +131,11 @@ if ($lasttime - $firsttime > 3 * 30 * 24 * 3600) {
|
||||||
if ($toff > 12*3600) {
|
if ($toff > 12*3600) {
|
||||||
$toff = 24 * 3600 - $toff;
|
$toff = 24 * 3600 - $toff;
|
||||||
}
|
}
|
||||||
print "correcting time by $toff seconds ";
|
# print "correcting time by $toff seconds ";
|
||||||
printf "from %04d-%02d-%02d %02d:%02d:%02d ", $year+1900, $mon+1, $mday, $hour, $min, $sec;
|
# printf "from %04d-%02d-%02d %02d:%02d:%02d ", $year+1900, $mon+1, $mday, $hour, $min, $sec;
|
||||||
$time -= $toff;
|
$time -= $toff;
|
||||||
($sec,$min,$hour,$mday,$mon,$year) = localtime($time);
|
($sec,$min,$hour,$mday,$mon,$year) = localtime($time);
|
||||||
printf "to %04d-%02d-%02d %02d:%02d:%02d\n", $year+1900, $mon+1, $mday, $hour, $min, $sec;
|
# printf "to %04d-%02d-%02d %02d:%02d:%02d\n", $year+1900, $mon+1, $mday, $hour, $min, $sec;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -165,11 +165,11 @@ if ($lasttime - $firsttime > 3 * 30 * 24 * 3600) {
|
||||||
if ($toff > 12*3600) {
|
if ($toff > 12*3600) {
|
||||||
$toff = 24 * 3600 - $toff;
|
$toff = 24 * 3600 - $toff;
|
||||||
}
|
}
|
||||||
print "correcting time by $toff seconds ";
|
# print "correcting time by $toff seconds ";
|
||||||
printf "from %04d-%02d-%02d %02d:%02d:%02d ", $year+1900, $mon+1, $mday, $hour, $min, $sec;
|
# printf "from %04d-%02d-%02d %02d:%02d:%02d ", $year+1900, $mon+1, $mday, $hour, $min, $sec;
|
||||||
$time -= $toff;
|
$time -= $toff;
|
||||||
($sec,$min,$hour,$mday,$mon,$year) = localtime($time);
|
($sec,$min,$hour,$mday,$mon,$year) = localtime($time);
|
||||||
printf "to %04d-%02d-%02d %02d:%02d:%02d\n", $year+1900, $mon+1, $mday, $hour, $min, $sec;
|
# printf "to %04d-%02d-%02d %02d:%02d:%02d\n", $year+1900, $mon+1, $mday, $hour, $min, $sec;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue