{"action":"opened","issue":{"url":"https://api.github.com/repos/mvantellingen/python-zeep/issues/242","repository_url":"https://api.github.com/repos/mvantellingen/python-zeep","labels_url":"https://api.github.com/repos/mvantellingen/python-zeep/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/mvantellingen/python-zeep/issues/242/comments","events_url":"https://api.github.com/repos/mvantellingen/python-zeep/issues/242/events","html_url":"https://github.com/mvantellingen/python-zeep/issues/242","id":185216853,"number":242,"title":"Extending datatypes (ex xsd.DateTime)","user":{"login":"last-partizan","id":301015,"avatar_url":"https://avatars.githubusercontent.com/u/301015?v=3","gravatar_id":"","url":"https://api.github.com/users/last-partizan","html_url":"https://github.com/last-partizan","followers_url":"https://api.github.com/users/last-partizan/followers","following_url":"https://api.github.com/users/last-partizan/following{/other_user}","gists_url":"https://api.github.com/users/last-partizan/gists{/gist_id}","starred_url":"https://api.github.com/users/last-partizan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/last-partizan/subscriptions","organizations_url":"https://api.github.com/users/last-partizan/orgs","repos_url":"https://api.github.com/users/last-partizan/repos","events_url":"https://api.github.com/users/last-partizan/events{/privacy}","received_events_url":"https://api.github.com/users/last-partizan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-25T19:52:54Z","updated_at":"2016-10-25T19:52:54Z","closed_at":null,"body":"Hello, this is not an issue but rather question.\r\n\r\nI'm using soap service which expect me to use date format like this `2016-08-14T00:00:00.000+03:00`\r\n\r\nAnd does not accept format used by zeep. I found `zeep.xsd.DateTime` which converts values to strings, but not found a way to use it.\r\n\r\ni subclassed zeep.xsd.DateTime, and tried this:\r\n```.python\r\nc = zeep.Client(wsdl)\r\nc.client.SomeMethod(SomeMethodRequest={'DateTime': MyDateTime(dt)}\r\n```\r\nand this is not working\r\n\r\nso, how do i tell zeep to use my custom DateTime class?\r\n\r\n"}}
{"actor":{"display_login":"last-partizan"}}