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

Add TypeConvertor jdbc/sqlserver DateTimeOffset #1338

Merged

Conversation

iaddict
Copy link
Contributor

@iaddict iaddict commented Apr 13, 2017

DateTimeOffset should be returned as a ruby Time instead of the raw jdbc type.

DateTimeOffset should be returned as a ruby Time instead of the raw jdbc type.
@jeremyevans
Copy link
Owner

Thanks for the patch. This looks good to me. I'm going to need to make a few changes, because this breaks on older versions of the SQL Server JDBC driver, and the spec breaks when using jdbc/jtds. But I should be able to fix those issues fairly easily.

@jeremyevans
Copy link
Owner

The spec actually breaks on many different adapters (odbc, ado, older versions of tiny_tds), in different ways on each. I'll have to do some more testing tomorrow and see if the issues can be fixed.

@jeremyevans jeremyevans merged commit f5fab58 into jeremyevans:master Apr 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants