{"action":"created","issue":{"url":"https://api.github.com/repos/Roysvork/LinqToQuerystring/issues/40","labels_url":"https://api.github.com/repos/Roysvork/LinqToQuerystring/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/Roysvork/LinqToQuerystring/issues/40/comments","events_url":"https://api.github.com/repos/Roysvork/LinqToQuerystring/issues/40/events","html_url":"https://github.com/Roysvork/LinqToQuerystring/issues/40","id":37602733,"number":40,"title":"DateTime parse error","user":{"login":"rogier21","id":1142915,"avatar_url":"https://avatars.githubusercontent.com/u/1142915?v=3","gravatar_id":"","url":"https://api.github.com/users/rogier21","html_url":"https://github.com/rogier21","followers_url":"https://api.github.com/users/rogier21/followers","following_url":"https://api.github.com/users/rogier21/following{/other_user}","gists_url":"https://api.github.com/users/rogier21/gists{/gist_id}","starred_url":"https://api.github.com/users/rogier21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogier21/subscriptions","organizations_url":"https://api.github.com/users/rogier21/orgs","repos_url":"https://api.github.com/users/rogier21/repos","events_url":"https://api.github.com/users/rogier21/events{/privacy}","received_events_url":"https://api.github.com/users/rogier21/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Roysvork/LinqToQuerystring/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-07-10T20:40:49Z","updated_at":"2015-01-13T18:27:18Z","closed_at":null,"body":"When I parse my OData string with this datetime: `datetime'2014-07-10T00:00:00.000'`\r\n\r\nI get an error: `String was not recognized as a valid DateTime`\r\n\r\nI noticed this code in `DateTimeNode.cs`\r\n\r\n            var dateText = this.Text\r\n                .Replace(\"datetime'\", string.Empty)\r\n                .Replace(\"'\", string.Empty)\r\n                .Replace(\".\", \":\");\r\n\r\nThe last replace makes the datetime string: `2014-07-10T00:00:00:000` but it should be `2014-07-10T00:00:00.000`\r\n\r\nWhen I read the OData specifications:\r\n\r\n`datetime’yyyy-mm-ddThh:mm[:ss[.fffffff]]’ NOTE: Spaces are not allowed between datetime and quoted portion. datetime is case-insensitive`\r\n\r\nI don't think there is a need to replace the `.` with a `:`, right?\r\n"},"comment":{"url":"https://api.github.com/repos/Roysvork/LinqToQuerystring/issues/comments/69793198","html_url":"https://github.com/Roysvork/LinqToQuerystring/issues/40#issuecomment-69793198","issue_url":"https://api.github.com/repos/Roysvork/LinqToQuerystring/issues/40","id":69793198,"user":{"login":"rogier21","id":1142915,"avatar_url":"https://avatars.githubusercontent.com/u/1142915?v=3","gravatar_id":"","url":"https://api.github.com/users/rogier21","html_url":"https://github.com/rogier21","followers_url":"https://api.github.com/users/rogier21/followers","following_url":"https://api.github.com/users/rogier21/following{/other_user}","gists_url":"https://api.github.com/users/rogier21/gists{/gist_id}","starred_url":"https://api.github.com/users/rogier21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogier21/subscriptions","organizations_url":"https://api.github.com/users/rogier21/orgs","repos_url":"https://api.github.com/users/rogier21/repos","events_url":"https://api.github.com/users/rogier21/events{/privacy}","received_events_url":"https://api.github.com/users/rogier21/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T18:27:18Z","updated_at":"2015-01-13T18:27:18Z","body":"@Roysvork did you manage to merge this fix in, or would you like a PR?"}}