18F/imls-pi-stack

Write duration timestamp outside duration bar

cantsin opened this issue · 0 comments

(Imported from cantsin/imls-pi-stack#11)

The duration stamp is normally written "inside" the duration bar.

When writing short durations (>10m), the duration overlaps with the timestamp of the start, because there is not enough room to write the stamp in the image.

We should write it to the right of the duration bar in those cases.