{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "",
    "ClosedDate": null,
    "CommentCount": 0,
    "Custom": null,
    "Description": "In Zip/Shared.cs, The PackedToDateTime function, it catches an ArgumentOutOfRangeException, and then tries to adjust to a valid date:\n\nelse\n                {\n                    try\n                    {\n                        while (year < 1980) year++;\n                        while (year > 2030) year--;\n                        while (month < 1) month++;\n                        while (month > 12) month--;\n                        while (day < 1) day++;\n                        while (day > 28) day--;\n                        while (minute < 0) minute++;\n                        while (minute > 59) minute--;\n                        while (second < 0) second++;\n                        while (second > 59) second--;\n                        d = new System.DateTime(year, month, day, hour, minute, second, 0);\n                        success= true;\n                    }\n                    catch (System.ArgumentOutOfRangeException) { }\n                }\n\nThe line:\n   while (day > 28) day--;\n\nOvercompensates by assuming that there are never more that 28 days in a month.  If, for example, it had a date of Jan 32, instead of rolling back to Jan 31, it rolls back to Jan 28th.\n\nIt should instead use DateTime.DaysInMonth(year, month) instead of the hardcoded 28.",
    "LastUpdatedDate": "2015-12-23T17:43:11.123-08:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Unassigned",
      "Severity": 0,
      "Id": 0
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2015-12-23T17:43:11.123-08:00",
    "Status": {
      "Name": "Proposed",
      "Id": 1
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "PackedToDateTime overadjusts out-of-range months",
    "Type": {
      "Name": "Unassigned",
      "Id": 5
    },
    "VoteCount": 1,
    "Id": 17586
  },
  "FileAttachments": [],
  "Comments": []
}