{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "Fixed in v1.8.1.19.",
    "ClosedDate": "2009-03-24T19:26:27.343-07:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "When I zip a file using the following code the modified time gets set incorrectly. It is always 1 hour before the actual file time. So if the the file was created at 9/16/2008 11:00 AM it will show 9/16/2008 10:00 AM in the zip file.\n \nDim oZip As New ZipFile(\"C:\\MONITOR\\test.zip\")\nWith oZip\n.AddFile(\"C:\\MONITOR\\log.txt\", \"\")\n.Save()\nEnd With\n \nI tested this with version 1.6,1.7,1.8 and they all have the issue.  It seems like it might have something to do with daylight savings time as I didn't see it popup until March 8th.  \n \nThanks!",
    "LastUpdatedDate": "2013-05-16T05:32:27.73-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2009-03-13T09:31:26.29-07:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Incorrect Modified Time  (see closed 6191)",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 7271
  },
  "FileAttachments": [],
  "Comments": [
    {
      "Message": "Hmm, yes.  I have had some challenges getting the filetimes absolutely right.  \r\n\r\nThe problem is described in this blog post by Raymond Chen:\r\nhttp://blogs.msdn.com/oldnewthing/archive/2003/10/24/55413.aspx \r\n\r\nI think I have DotNetZip right now.  (as of changeset 29831, from Sunday; the earliest binary release that contains this is v1.8.1.19).  \r\n\r\nI believe the true test if it is working properly is this: \r\n\r\n1.  examine a file with Windows Explorer and note the filetime\r\n2.  zip up the file with DotNetZip\r\n3.  examine (view) the zip file with WinZip \r\n4.  examine the LastModified time on the ZipEntry with DotNetZip\r\n5.  extract the zip file with DotNetZip \r\n6.  examine the newly extracted file in Windows Explorer\r\n\r\nThe time observed in steps 1, 3, and 6 ought to be exactly the same. \r\nThe time observed in step 4 may be off by an hour, due to the discrepancy described in the blog entry I Referenced above. \r\n\r\nTo generalize the test described above, \r\nI'd like the same kind of behavior if I replace the zip tool or library used in step 2 or 5 with any other correct tool or library.\r\n\r\n\r\nA relevant KB article: \r\nhttp://support.microsoft.com/kb/932955\r\n\r\nWhen you say \"it will show in the zip file as XXX\",  what does \"show up\"mean?  \r\nwhere?  when?  \r\n",
      "PostedDate": "2009-03-13T11:23:30.53-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2009-03-24T19:26:27.343-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:44:25.51-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-05-16T05:32:27.73-07:00",
      "Id": -2147483648
    }
  ]
}