Modifying export overview LaTex with automated weeks.

This commit is contained in:
ruidajo 2022-05-25 12:31:53 -05:00
parent 9544a92392
commit 33805fd903

View File

@ -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