According to AWStats changelog, awstats_buildstaticpages.pl supports the -databasebreak option starting with version 7.1. However, that option is only used when an AWStats update is triggered. The command used to generate pages doesn't contain this parameter however. As a result, AWStats assumes -databasebreak=month and reads monthly stats. In addition, the generated pages are very confusing because the header wrongly claims that the reported period is a single day (-day parameter is being forwarded to AWStats).
This is fixed with one additional line change in awstats_buildstaticpages.pl:
if ($MonthRequired) { $smallcommand.=" -month=$MonthRequired"; }
if ($YearRequired) { $smallcommand.=" -year=$YearRequired"; }
+if ($DatabaseBreak) { $smallcommand.=" -databasebreak=$DatabaseBreak"; }
This issue affects AWStats 7.3 and is still present on the develop branch in the source code repository.
Never mind, I see that this was fixed on the
developbranch, merely a few lines earlier than I expected. Feel free to close this bug then.