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

Applying UTC offset to DateTime #233

Open
comsma opened this issue Jan 15, 2025 · 0 comments
Open

Applying UTC offset to DateTime #233

comsma opened this issue Jan 15, 2025 · 0 comments

Comments

@comsma
Copy link

comsma commented Jan 15, 2025

Is your feature request related to a problem? Please describe.
I am currently building an API service to use ontop of our sqlserver instance. We have an existing database that is managed by a third party that has used the DATETIME data type to store dates for date_created, date_last_modified. All of these dates are stored in our local time zone "-5 GMT".

Describe the solution you'd like
Would it be possible to add a parameter in the dsn that specifies a global offset for all DATETIME data types?

Describe alternatives you've considered
Documentation on how the driver can be extended to support adding the Location value to the time.Time structure globally.

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

No branches or pull requests

1 participant