Closed
Description
To set the time_zone
from the DSN, the value must be quoted. But this is not correctly documented.
Examples (named time zone really work only if the time_zone tables exists on the server):
Wanted value | Fails | Works |
---|---|---|
+00:00 |
&time_zone=%2B00%3A00 |
&time_zone=%27%2B00%3A00%27 |
UTC |
&time_zone=UTC |
&time_zone=%27UTC%27 |
Europe/Paris |
&time_zone=Europe%2FParis |
&time_zone=%27Europe%2FParis%27 |
I suppose the same issue will happen for any session parameter that is of type string.
I find that using quoting in counter-intuitive, so I'm not sure if this is that the documentation that should be fixed.