diff --git a/Socialmetrica.package/NitterUser.class/instance/exportOverviewReportLatex.st b/Socialmetrica.package/NitterUser.class/instance/exportOverviewReportLatex.st index 282e877..7fd6d70 100644 --- a/Socialmetrica.package/NitterUser.class/instance/exportOverviewReportLatex.st +++ b/Socialmetrica.package/NitterUser.class/instance/exportOverviewReportLatex.st @@ -1,5 +1,11 @@ accessing exportOverviewReportLatex - self exportOverviewReportLatexWithBars: 9. + | weeks floor divisions | + weeks := ((self newestTweet created - self oldestTweet created) days / 7). + floor := weeks floor. + (weeks - floor) > 0.4 + ifTrue: [ divisions := floor ] + ifFalse: [ divisions := floor + 1 ]. + self exportOverviewReportLatexWithBars: divisions. ^ self folder \ No newline at end of file