Delta_Format() has a new parameter.
Fix @format string, too. Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
parent
1a57eb600f
commit
36d02b3364
|
@ -195,7 +195,7 @@ if ($config{'day'}) {
|
||||||
if ($postcount > 0) {
|
if ($postcount > 0) {
|
||||||
printf "\n\nPostings %-14s: %d (%.2f pro Tag)\n",$lastmonat,$postcount,($postcount / Date_DaysInMonth(UnixDate($lastday,"%m"),UnixDate($lastday,"%Y")));
|
printf "\n\nPostings %-14s: %d (%.2f pro Tag)\n",$lastmonat,$postcount,($postcount / Date_DaysInMonth(UnixDate($lastday,"%m"),UnixDate($lastday,"%Y")));
|
||||||
};
|
};
|
||||||
$daycount = Delta_Format(DateCalc(ParseDate($firstday),ParseDate($lastday)),0,'%dh');
|
$daycount = Delta_Format(DateCalc(ParseDate($firstday),ParseDate($lastday)),'approx',0,'%dh');
|
||||||
#D print STDERR "$daycount = $lastday - $firstday\n";
|
#D print STDERR "$daycount = $lastday - $firstday\n";
|
||||||
print "\n\n";
|
print "\n\n";
|
||||||
if (scalar(@postings)) {
|
if (scalar(@postings)) {
|
||||||
|
|
Loading…
Reference in a new issue