sqlx icon indicating copy to clipboard operation
sqlx copied to clipboard

parse timezone parameter in mysql connection url

Open dojiong opened this issue 1 year ago • 1 comments

Identify the timezone when parsing the url and set it by MySqlConnectOptions::timezone.

For example: mysql://user:pass@host/db?timezone=+08:00

dojiong avatar Aug 08 '24 07:08 dojiong

Could you add a test case below to ensure that no regressions happen on this parameter?

Done!

dojiong avatar Aug 08 '24 10:08 dojiong