{"action":"created","issue":{"url":"https://api.github.com/repos/recurly/recurly-client-net/issues/114","labels_url":"https://api.github.com/repos/recurly/recurly-client-net/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/recurly/recurly-client-net/issues/114/comments","events_url":"https://api.github.com/repos/recurly/recurly-client-net/issues/114/events","html_url":"https://github.com/recurly/recurly-client-net/issues/114","id":113328072,"number":114,"title":"Issue on C# UTC dates when trying to \"Unpostpone\" a subscription ","user":{"login":"joppereira","id":1917749,"avatar_url":"https://avatars.githubusercontent.com/u/1917749?v=3","gravatar_id":"","url":"https://api.github.com/users/joppereira","html_url":"https://github.com/joppereira","followers_url":"https://api.github.com/users/joppereira/followers","following_url":"https://api.github.com/users/joppereira/following{/other_user}","gists_url":"https://api.github.com/users/joppereira/gists{/gist_id}","starred_url":"https://api.github.com/users/joppereira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joppereira/subscriptions","organizations_url":"https://api.github.com/users/joppereira/orgs","repos_url":"https://api.github.com/users/joppereira/repos","events_url":"https://api.github.com/users/joppereira/events{/privacy}","received_events_url":"https://api.github.com/users/joppereira/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/recurly/recurly-client-net/labels/bug?","name":"bug?","color":"f7c6c7"}],"state":"open","locked":false,"assignee":{"login":"bhelx","id":185919,"avatar_url":"https://avatars.githubusercontent.com/u/185919?v=3","gravatar_id":"","url":"https://api.github.com/users/bhelx","html_url":"https://github.com/bhelx","followers_url":"https://api.github.com/users/bhelx/followers","following_url":"https://api.github.com/users/bhelx/following{/other_user}","gists_url":"https://api.github.com/users/bhelx/gists{/gist_id}","starred_url":"https://api.github.com/users/bhelx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhelx/subscriptions","organizations_url":"https://api.github.com/users/bhelx/orgs","repos_url":"https://api.github.com/users/bhelx/repos","events_url":"https://api.github.com/users/bhelx/events{/privacy}","received_events_url":"https://api.github.com/users/bhelx/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-10-26T10:37:40Z","updated_at":"2015-11-18T16:43:25Z","closed_at":null,"body":"We're trying to unpostone a subscription by activating it once again. we are doing it like this:\r\n\r\n```\r\nvar subscription = Subscriptions.Get(\"31d13867f5510236cb26244c13823a45\");\r\nsubscription.Postpone(DateTime.UtcNow.AddMinutes(1));\r\n```\r\n\r\nThe problem here is that according to your support there is a time discrepancy between what is entered in the api, and what is seen arriving in the server logs (approx. -12 hour difference). If I use AddDays(1) instead of plus 1 minute it works. However we do need it to be 1 minute right after.\r\n\r\nIt appears to be dependent upon the scripting language used as PHP apparently does not have this issue, although C# has. \r\n\r\nExample of date being sent on our side and that seems to be correct:\r\n```\r\nDateTime.UtcNow.AddMinutes(1)\r\n    {10/13/2015 6:33:37 PM}\r\n    Date: {10/13/2015 12:00:00 AM}\r\n    Day: 13\r\n    DayOfWeek: Tuesday\r\n    DayOfYear: 286\r\n    Hour: 18\r\n    Kind: Utc\r\n    Millisecond: 93\r\n    Minute: 33\r\n    Month: 10\r\n    Second: 37\r\n    Ticks: 635803580170937320\r\n    TimeOfDay: {18:33:37.0937320}\r\n    Year: 2015\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/recurly/recurly-client-net/issues/comments/157772837","html_url":"https://github.com/recurly/recurly-client-net/issues/114#issuecomment-157772837","issue_url":"https://api.github.com/repos/recurly/recurly-client-net/issues/114","id":157772837,"user":{"login":"joppereira","id":1917749,"avatar_url":"https://avatars.githubusercontent.com/u/1917749?v=3","gravatar_id":"","url":"https://api.github.com/users/joppereira","html_url":"https://github.com/joppereira","followers_url":"https://api.github.com/users/joppereira/followers","following_url":"https://api.github.com/users/joppereira/following{/other_user}","gists_url":"https://api.github.com/users/joppereira/gists{/gist_id}","starred_url":"https://api.github.com/users/joppereira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joppereira/subscriptions","organizations_url":"https://api.github.com/users/joppereira/orgs","repos_url":"https://api.github.com/users/joppereira/repos","events_url":"https://api.github.com/users/joppereira/events{/privacy}","received_events_url":"https://api.github.com/users/joppereira/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T16:43:25Z","updated_at":"2015-11-18T16:43:25Z","body":"Hi,\n\nCan i get any feedback on this issue?\n\nThanks,\nJoão\n\nOn Fri, Oct 30, 2015 at 11:35 PM, João Pereira <joao.pgpereira@gmail.com>\nwrote:\n\n> Sorry, i meant AddMinutes(1). You ser three months cause i was testing\n> with AddDays(90) at the moment and i also could see in recurlys website the\n> users account being postponed 3 months but with 12 hours before my local\n> utc time, so have the same issue as what i originally wanted, AddMinutes(1)\n>\n>\n> No dia sexta-feira, 30 de outubro de 2015, Benjamin Eckel <\n> notifications@github.com> escreveu:\n>\n>> @joppereira <https://github.com/joppereira> My test program was printing\n>> the http url right out to the console/log, so you could also check there\n>> first.\n>>\n>> Also, I'm confused that you are calling (DateTime.UtcNow.AddDays(1)) and\n>> it's a whole 3 months into the future: 1/28/2016\n>>\n>> Might want to double check that your time is properly configured on your\n>> machine.\n>>\n>> —\n>> Reply to this email directly or view it on GitHub\n>> <https://github.com/recurly/recurly-client-net/issues/114#issuecomment-152666117>\n>> .\n>>\n>\n>\n> --\n> Cumprimentos,\n> João Pereira\n>\n>\n\n\n-- \nCumprimentos,\nJoão Pereira\n"}}