{"action":"created","issue":{"url":"https://api.github.com/repos/akkadotnet/Wire/issues/23","repository_url":"https://api.github.com/repos/akkadotnet/Wire","labels_url":"https://api.github.com/repos/akkadotnet/Wire/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/akkadotnet/Wire/issues/23/comments","events_url":"https://api.github.com/repos/akkadotnet/Wire/issues/23/events","html_url":"https://github.com/akkadotnet/Wire/issues/23","id":158384670,"number":23,"title":"Datetime Kind property is not serialized properly","user":{"login":"Danthar","id":986519,"avatar_url":"https://avatars.githubusercontent.com/u/986519?v=3","gravatar_id":"","url":"https://api.github.com/users/Danthar","html_url":"https://github.com/Danthar","followers_url":"https://api.github.com/users/Danthar/followers","following_url":"https://api.github.com/users/Danthar/following{/other_user}","gists_url":"https://api.github.com/users/Danthar/gists{/gist_id}","starred_url":"https://api.github.com/users/Danthar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danthar/subscriptions","organizations_url":"https://api.github.com/users/Danthar/orgs","repos_url":"https://api.github.com/users/Danthar/repos","events_url":"https://api.github.com/users/Danthar/events{/privacy}","received_events_url":"https://api.github.com/users/Danthar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-03T14:49:55Z","updated_at":"2016-06-23T14:28:31Z","closed_at":"2016-06-11T19:44:33Z","body":"             var now = DateTime.UtcNow;\r\n            Console.WriteLine(now);\r\n            Console.WriteLine($\"Kind : {now.Kind}\");\r\n           \r\n            var source = new MemoryStream();\r\n            var w = new StreamWriter(source);\r\n            var s = new Wire.Serializer(new SerializerOptions());\r\n            s.Serialize(now, w.BaseStream);\r\n            source.Position = 0;\r\n            var newdate = (DateTime)s.Deserialize(source);\r\n            //is unspecified here, should be Utc\r\n            Console.WriteLine($\"Kind : {newdate.Kind}\");\r\n\r\n            Console.ReadLine();\r\n\r\nConsidering this fails. DateTimeOffset probably also has issues."},"comment":{"url":"https://api.github.com/repos/akkadotnet/Wire/issues/comments/228067610","html_url":"https://github.com/akkadotnet/Wire/issues/23#issuecomment-228067610","issue_url":"https://api.github.com/repos/akkadotnet/Wire/issues/23","id":228067610,"user":{"login":"cris-almodovar","id":6144545,"avatar_url":"https://avatars.githubusercontent.com/u/6144545?v=3","gravatar_id":"","url":"https://api.github.com/users/cris-almodovar","html_url":"https://github.com/cris-almodovar","followers_url":"https://api.github.com/users/cris-almodovar/followers","following_url":"https://api.github.com/users/cris-almodovar/following{/other_user}","gists_url":"https://api.github.com/users/cris-almodovar/gists{/gist_id}","starred_url":"https://api.github.com/users/cris-almodovar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cris-almodovar/subscriptions","organizations_url":"https://api.github.com/users/cris-almodovar/orgs","repos_url":"https://api.github.com/users/cris-almodovar/repos","events_url":"https://api.github.com/users/cris-almodovar/events{/privacy}","received_events_url":"https://api.github.com/users/cris-almodovar/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T14:28:31Z","updated_at":"2016-06-23T14:28:31Z","body":"hi, any plans to release a new nuget package that will include this fix? \r\n\r\nthanks!"}}
{"actor":{"display_login":"cris-almodovar"}}