Uploaded image for project: 'Reporting Module'
  1. Reporting Module
  2. REPORT-736

DateUtil.getEndOfMonth does not return correct date in all cases

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Reporting 0.9.7
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      DateUtil.getEndOfMonth takes in a month adjustment parameter from the current month, which is used to decide what month in the past the end of month value should be returned. However, the end of month value is retrieved before this month adjustment is applied, so the day of the month returned is always the last day of the current month. This needs to be fixed.

        Attachments

          Activity

            People

            Assignee:
            mseaton Mike Seaton
            Reporter:
            mseaton Mike Seaton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: