Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32651

Incorrectly calculed reporting period can lead to an empty report

    Details

    • Similar Issues:

      Description

      Currently, calculating the begin date of the reporting period is done using Calendar.roll() which is wrong. As roll() only changes a specific unit and doesn't update larger fields in the calendar object, rolling back 2 week on the first week of a month sets the calendar week to the last week of the month, which is in the future. As the begin date is in the future, the computed is empty.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ydubreuil Yoann Dubreuil
                Reporter:
                ydubreuil Yoann Dubreuil
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: