Skip to main content

Module reports

Module reports 

Source
Expand description

Email reports: the period one covers, and the subject, HTML, and text of one site’s report in a language.

Structs§

BuiltReport
A report, ready to send.
ReportPeriod
The span of days a report covers, and the one before it.

Functions§

build_report
One site’s report for a period, in a language. The links are absolute: the dashboard and the recipient’s unsubscribe page.
last_period
The last complete week (Monday to Sunday) or month before now, in a timezone. frequency is weekly or monthly.