Modifying export overview LaTex with automated weeks.
This commit is contained in:
parent
9544a92392
commit
33805fd903
@ -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
|
Loading…
Reference in New Issue
Block a user