-
JediKev authored
This addresses issue 5156 where using something like AWS RDS shows incorrect timezone for the database. In systems like AWS RDS you cannot set the `@@global.system_time_zone` variable to anything other than `UTC` which is a problem. This updates `db_connect` to set the session timezone to the global timezone for every connection. This will ensure the appropriate timezone is used in subsequent methods.
JediKev authoredThis addresses issue 5156 where using something like AWS RDS shows incorrect timezone for the database. In systems like AWS RDS you cannot set the `@@global.system_time_zone` variable to anything other than `UTC` which is a problem. This updates `db_connect` to set the session timezone to the global timezone for every connection. This will ensure the appropriate timezone is used in subsequent methods.