Merge pull request #513 from aloucks/timezone

Change connection initialization timezone to UTC
This commit is contained in:
Steven Fackler
2019-11-17 08:34:59 -05:00
committed by GitHub

View File

@@ -109,7 +109,7 @@ where
S: AsyncRead + AsyncWrite + Unpin,
T: AsyncRead + AsyncWrite + Unpin,
{
let mut params = vec![("client_encoding", "UTF8"), ("timezone", "GMT")];
let mut params = vec![("client_encoding", "UTF8"), ("timezone", "UTC")];
if let Some(user) = &config.user {
params.push(("user", &**user));
}