Commit c837ad75 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix(Mail): fix month query for newsletter, we had one month offset that is no longer required

parent da0a89b7
......@@ -223,7 +223,7 @@ const monthlyReportNotification = async ({
const today = DateTime.local().setZone('utc', {
keepLocalTime: true,
const month = today.minus({ month: 1 }).toFormat('MM')
const month = today.toFormat('MM')
const year = today.toFormat('yyyy')
const monthlyReport: MonthlReport = await getMonthlyReport(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment