Change connection initialization timezone to UTC

This commit is contained in:
Aaron Loucks
2019-11-16 18:59:39 -05:00
parent ba39e2f53b
commit 2f31e5826d

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));
}