Skip to content

Beginning of the month scheduler includes new month as well #166

@davixd

Description

@davixd

Hi Icinga2 Reporting team,
I'm making two reports with the timeframe of a month: one by a breadown of a day and the other one by a breadown of a month. Both scheduler are set to start at: 01.10.2022 00:00:00 and frequently by a month. The report by a breadown of a day correctly did report today at 01.10.2022 00:00:00 and included in the report: 01.11.2022 till 30.11.2022. The report by a breadown of a month did report today at 01.10.2022 00:00:00 as well and included in the report: 11.2022 till 12.2022. Why those the report with a breakdown of a month reports the previous month and the actual month?

Report breakdown by a day:
image

Report breakdown by a month:
image

I would expect the report breakdown by a month to be also only from 01.11.2022 till 30.11.2022 (just for the previous month).

Report by a breadown of a day settings:
image
image

Report by a breadown of a month settings:
image
image

Versions in use:
pdfexport 0.10.2
reporting 0.10.0
Icinga Web 2 Version | 2.11.2
PHP Version | 7.3.33

Is it a bug? Or config problem?

Many thanks in advance!

Best regards
David

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions