Sort out dates and hours for table
This commit is contained in:
parent
382489ecac
commit
a20b570e11
@ -1090,10 +1090,11 @@ if ( !$disabled ) {
|
||||
}
|
||||
|
||||
$ncateg = 0;
|
||||
my $table_start_time = $start;
|
||||
while ( $ncateg < @categs) {
|
||||
if ($finaldisplay[$ncateg]){
|
||||
if ($ncateg == 0) {
|
||||
$Values .= strftime( "%F, %H", localtime( $hour * 3600 ) )." "
|
||||
$Values .= strftime( "%F, %H", localtime( $table_start_time + $hour * 3600 ) )." "
|
||||
} elsif ($ncateg == @categs-1) {
|
||||
#percentages in last column
|
||||
$Values .= sprintf('%'.($colwidth[$ncateg]-2).'.1f',$counts{$hour}{$categs[$ncateg]})."%";
|
||||
|
@ -32,7 +32,7 @@ See http://www.contribs.org/bugzilla/show_bug.cgi?id=819
|
||||
|
||||
%changelog
|
||||
* Mon Dec 30 2024 Brian Read <brianr@koozali.org> 1.1-19.sme
|
||||
- Update mailstats.pl to accomodate change in log format for SME11 [SME: ]
|
||||
- Update mailstats.pl to accomodate change in log format for SME11 [SME: 12841]
|
||||
|
||||
* Fri Jun 07 2024 Brian Read <brianr@koozali.org> 1.1-18.sme
|
||||
- Pull in python re-write from SME11 dev [SME: ]
|
||||
|
Loading…
Reference in New Issue
Block a user