{"action":"created","issue":{"url":"https://api.github.com/repos/patriksimek/node-mssql/issues/316","repository_url":"https://api.github.com/repos/patriksimek/node-mssql","labels_url":"https://api.github.com/repos/patriksimek/node-mssql/issues/316/labels{/name}","comments_url":"https://api.github.com/repos/patriksimek/node-mssql/issues/316/comments","events_url":"https://api.github.com/repos/patriksimek/node-mssql/issues/316/events","html_url":"https://github.com/patriksimek/node-mssql/issues/316","id":155849009,"number":316,"title":"Dealing with timezones","user":{"login":"polson136","id":2353281,"avatar_url":"https://avatars.githubusercontent.com/u/2353281?v=3","gravatar_id":"","url":"https://api.github.com/users/polson136","html_url":"https://github.com/polson136","followers_url":"https://api.github.com/users/polson136/followers","following_url":"https://api.github.com/users/polson136/following{/other_user}","gists_url":"https://api.github.com/users/polson136/gists{/gist_id}","starred_url":"https://api.github.com/users/polson136/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polson136/subscriptions","organizations_url":"https://api.github.com/users/polson136/orgs","repos_url":"https://api.github.com/users/polson136/repos","events_url":"https://api.github.com/users/polson136/events{/privacy}","received_events_url":"https://api.github.com/users/polson136/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-19T22:23:55Z","updated_at":"2016-05-30T11:48:00Z","closed_at":null,"body":"The database I am connecting to (SQL Server 2008) has many datetime columns in it. The dates are stored in the server's local time. When I use mssql time, the dates are interpreted according to GMT. I have tried setting useUTC: false in the connection configuration, but have not had any success. Is there any way to correct this? If not simply, is there a function I can override to correct this behavior?\r\n\r\nI'm not sure whether this is a bug, a feature, or a lack of documentation, but I'm not really sure what to do about this, short of iterating over all of the results and subtracting 5-6 hours from them."},"comment":{"url":"https://api.github.com/repos/patriksimek/node-mssql/issues/comments/222475479","html_url":"https://github.com/patriksimek/node-mssql/issues/316#issuecomment-222475479","issue_url":"https://api.github.com/repos/patriksimek/node-mssql/issues/316","id":222475479,"user":{"login":"slasktrat","id":11269880,"avatar_url":"https://avatars.githubusercontent.com/u/11269880?v=3","gravatar_id":"","url":"https://api.github.com/users/slasktrat","html_url":"https://github.com/slasktrat","followers_url":"https://api.github.com/users/slasktrat/followers","following_url":"https://api.github.com/users/slasktrat/following{/other_user}","gists_url":"https://api.github.com/users/slasktrat/gists{/gist_id}","starred_url":"https://api.github.com/users/slasktrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slasktrat/subscriptions","organizations_url":"https://api.github.com/users/slasktrat/orgs","repos_url":"https://api.github.com/users/slasktrat/repos","events_url":"https://api.github.com/users/slasktrat/events{/privacy}","received_events_url":"https://api.github.com/users/slasktrat/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T11:48:00Z","updated_at":"2016-05-30T11:48:00Z","body":"I have the same issue. Tried config.options.useUTC=false, no difference."}}
{"actor":{"display_login":"slasktrat"}}