{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/7395","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/7395/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/7395/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/7395/events","html_url":"https://github.com/NuGet/Home/issues/7395","id":369385899,"node_id":"MDU6SXNzdWUzNjkzODU4OTk=","number":7395,"title":"timestamps of file of packed package is shifted by the timezone","user":{"login":"zapzap3","id":34879390,"node_id":"MDQ6VXNlcjM0ODc5Mzkw","avatar_url":"https://avatars1.githubusercontent.com/u/34879390?v=4","gravatar_id":"","url":"https://api.github.com/users/zapzap3","html_url":"https://github.com/zapzap3","followers_url":"https://api.github.com/users/zapzap3/followers","following_url":"https://api.github.com/users/zapzap3/following{/other_user}","gists_url":"https://api.github.com/users/zapzap3/gists{/gist_id}","starred_url":"https://api.github.com/users/zapzap3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zapzap3/subscriptions","organizations_url":"https://api.github.com/users/zapzap3/orgs","repos_url":"https://api.github.com/users/zapzap3/repos","events_url":"https://api.github.com/users/zapzap3/events{/privacy}","received_events_url":"https://api.github.com/users/zapzap3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-12T03:30:48Z","updated_at":"2018-10-17T01:44:16Z","closed_at":null,"author_association":"NONE","body":"I'm using nuget 4.7.1 .\r\nWhen I pack with nuget then extract on included files, the extracted files last modified times are -9 hours. (I'm in a +9:00 timezone.)\r\n\r\nThe problem of Last Modified time for included files, seems fixed in [#5240](https://github.com/NuGet/Home/issues/5240), But  LastWriteTime is set UTC time.\r\n\r\n[ZipArchiveEntry.LastWriteTime(in .NET) ](https://docs.microsoft.com/en-us/dotnet/api/system.io.compression.ziparchiveentry.lastwritetime?view=netframework-4.7.2) seems not supported extended timestamp of Zip.\r\nTherefore, I think that it is better to set local time to LastWriteTime.\r\nOr is there a way to set local time correctly?\r\n\r\n## Details about Problem\r\nNuGet.exe version = 4.7.1.5393(also tried 4.6.2.5055 and 4.8.1.5435)\r\n.NET version = 4.7.03062\r\nOS version = Windows 7 Professional (build 7601 : Service Pack 1)\r\n\r\n## Detailed repro steps so we can see the same problem\r\nnuget.exe pack xxxx.nuspec"},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/430459781","html_url":"https://github.com/NuGet/Home/issues/7395#issuecomment-430459781","issue_url":"https://api.github.com/repos/NuGet/Home/issues/7395","id":430459781,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDQ1OTc4MQ==","user":{"login":"zapzap3","id":34879390,"node_id":"MDQ6VXNlcjM0ODc5Mzkw","avatar_url":"https://avatars1.githubusercontent.com/u/34879390?v=4","gravatar_id":"","url":"https://api.github.com/users/zapzap3","html_url":"https://github.com/zapzap3","followers_url":"https://api.github.com/users/zapzap3/followers","following_url":"https://api.github.com/users/zapzap3/following{/other_user}","gists_url":"https://api.github.com/users/zapzap3/gists{/gist_id}","starred_url":"https://api.github.com/users/zapzap3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zapzap3/subscriptions","organizations_url":"https://api.github.com/users/zapzap3/orgs","repos_url":"https://api.github.com/users/zapzap3/repos","events_url":"https://api.github.com/users/zapzap3/events{/privacy}","received_events_url":"https://api.github.com/users/zapzap3/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T01:44:16Z","updated_at":"2018-10-17T01:44:16Z","author_association":"NONE","body":"I never used the source link, but I will check if it is available in the future.\r\nAt the moment, if package contains source code, include files, and other assemblies, Do I have to adjust the time zone of the Last Modified time of the file by myself?"}}
{"actor":{"display_login":"zapzap3"}}