Skip to content

Commit 2f31e58

Browse files
committed
Change connection initialization timezone to UTC
1 parent ba39e2f commit 2f31e58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio-postgres/src/connect_raw.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ where
109109
S: AsyncRead + AsyncWrite + Unpin,
110110
T: AsyncRead + AsyncWrite + Unpin,
111111
{
112-
let mut params = vec![("client_encoding", "UTF8"), ("timezone", "GMT")];
112+
let mut params = vec![("client_encoding", "UTF8"), ("timezone", "UTC")];
113113
if let Some(user) = &config.user {
114114
params.push(("user", &**user));
115115
}

0 commit comments

Comments
 (0)