From 2f31e5826d34451d99e98e2fd57ea51b14839157 Mon Sep 17 00:00:00 2001 From: Aaron Loucks Date: Sat, 16 Nov 2019 18:59:39 -0500 Subject: [PATCH] Change connection initialization timezone to UTC --- tokio-postgres/src/connect_raw.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-postgres/src/connect_raw.rs b/tokio-postgres/src/connect_raw.rs index 90fb4165..b6a8d8d6 100644 --- a/tokio-postgres/src/connect_raw.rs +++ b/tokio-postgres/src/connect_raw.rs @@ -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)); }