Skip to content

Compatible timezone value (and missing docs) #1614

@glensc

Description

@glensc

Coming from mysql to mysql2 has learning curve, how to set timezone?

Currently, there's zero documentation about a such option, but using it, the library prints a warning:

Ignoring invalid timezone passed to Connection: UTC. This is currently a warning, but in future versions of MySQL2, an error will be thrown if you pass an invalid configuration option to a Connection

from searching the source code I found that equivalent would be Z.

perhaps add UTC to the list as well (to be identical to Z)?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions