Uploaded image for project: 'Snowstorm'
  1. Snowstorm
  2. STORM-1136

LLDateUtil class defines March having 21 days, causing wrong avatar age calculation (Patch with bugfix attached)

    Details

    • Type: Defect
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Sprint 14
    • Labels:
    • Environment:
    • Approvals:
      Code Review, Product Owner

      Description

      In LLDateUtil.cpp, the two arrays DAYS_PER_MONTH_NOLEAP and DAYS_PER_MONTH_LEAP define the month March having 21 days instead of 31. This causes a wrong calculation of avatar ages for avatars registered between March 21 and March 31. This bug is still present in the latest revision in the Snowstorm repository.

      I attached a patch with a bugfix for this error.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ansariel.hiller Ansariel Hiller
              Extended Group Visibility:
              jira-users
              Prod Owner Approved:
              Grumpity ProductEngine
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: