Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datetimeoffset support #14

Open
chad-ongstad opened this issue May 10, 2018 · 2 comments
Open

datetimeoffset support #14

chad-ongstad opened this issue May 10, 2018 · 2 comments

Comments

@chad-ongstad
Copy link

I was attempting to use this library and am having issues with a table containing a datetimeoffset column. Is this not supported in ctds?

NotSupportedError: unsupported type 43 for column

Thanks,

Chad

@joshuahlang
Copy link
Collaborator

Looks like support for this type was added to FreeTDS after I had started working on ctds. I can look into adding support when I get some free time in the next few days.

@joshuahlang
Copy link
Collaborator

Support for timezone creation in the C API is coming in Python 3.7 it appears: python/cpython#5032. I suppose translating the DATETIMEOFFSET to an ISO 8601-encoded string is reasonable for versions prior to 3.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants