Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-11890

Time conditions in reports are inaccurate at the "right" endpoint

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 4.2.7
    • Fix Version/s: Unscheduled
    • Component/s: CiviReport
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      Currently, we are using a closed time interval, which is inclusive of the endpoints. Since the time input field does not give second accuracy, it is impossible to make the rightmost endpoint either inclusive (for example, <= 235959) or exclusive (< 000000), so when running sequential reports using times we will always have uncounted records, or double-counted records.

      The easiest solution would be to add 59 seconds to the "to" time. This still puts the burden on report designers to know that the end time should be one minute earlier than the desired end of the period.

        Attachments

          Activity

            People

            • Assignee:
              adamw Adam Wight
              Reporter:
              adamw Adam Wight
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: