{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/976","labels_url":"https://api.github.com/repos/NuGet/Home/issues/976/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/976/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/976/events","html_url":"https://github.com/NuGet/Home/issues/976","id":96321412,"number":976,"title":"DateTimeParse issue in GetMetadata result","user":{"login":"punitganshani","id":1032553,"avatar_url":"https://avatars.githubusercontent.com/u/1032553?v=3","gravatar_id":"","url":"https://api.github.com/users/punitganshani","html_url":"https://github.com/punitganshani","followers_url":"https://api.github.com/users/punitganshani/followers","following_url":"https://api.github.com/users/punitganshani/following{/other_user}","gists_url":"https://api.github.com/users/punitganshani/gists{/gist_id}","starred_url":"https://api.github.com/users/punitganshani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/punitganshani/subscriptions","organizations_url":"https://api.github.com/users/punitganshani/orgs","repos_url":"https://api.github.com/users/punitganshani/repos","events_url":"https://api.github.com/users/punitganshani/events{/privacy}","received_events_url":"https://api.github.com/users/punitganshani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-21T13:56:55Z","updated_at":"2015-07-21T23:31:09Z","closed_at":null,"body":"I am trying to search for \"EntityFramework\" using the code below in a ASP.NET MVC application\r\n\r\n```\r\nvar repo = RepositoryFactory.Create(\"https://api.nuget.org/v3/index.json\");\r\nvar metaResource = await repo.GetResourceAsync<UIMetadataResource>();\r\nvar packagesEnum = await metaResource.GetMetadata(\"EntityFramework\", true, false, CancellationToken.None);\r\nvar packagesFound = packagesEnum.ToList();\r\n```\r\n\r\nWhen the enumerator is converted to List, an exception is throw as below -\r\n\r\n```\r\nString was not recognized as a valid DateTime.\r\n   at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)\r\n   at NuGet.Client.V3.VisualStudio.V3UIMetadataResource.ParseMetadata(JObject metadata)\r\n   at NuGet.Client.V3.VisualStudio.V3UIMetadataResource.<GetMetadata>b__f(JObject item)\r\n   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()\r\n   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)\r\n```\r\n\r\nMy local timezone is UTC+8"},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/123507388","html_url":"https://github.com/NuGet/Home/issues/976#issuecomment-123507388","issue_url":"https://api.github.com/repos/NuGet/Home/issues/976","id":123507388,"user":{"login":"emgarten","id":6381138,"avatar_url":"https://avatars.githubusercontent.com/u/6381138?v=3","gravatar_id":"","url":"https://api.github.com/users/emgarten","html_url":"https://github.com/emgarten","followers_url":"https://api.github.com/users/emgarten/followers","following_url":"https://api.github.com/users/emgarten/following{/other_user}","gists_url":"https://api.github.com/users/emgarten/gists{/gist_id}","starred_url":"https://api.github.com/users/emgarten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emgarten/subscriptions","organizations_url":"https://api.github.com/users/emgarten/orgs","repos_url":"https://api.github.com/users/emgarten/repos","events_url":"https://api.github.com/users/emgarten/events{/privacy}","received_events_url":"https://api.github.com/users/emgarten/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T23:31:09Z","updated_at":"2015-07-21T23:31:09Z","body":"Those packages are out of date, try the latest ones here: https://www.myget.org/F/nugetbuild/api/v2\r\n"}}