My confusion is just cleared, but i don't know why didn't adapt that string.
I've been forced
to write scaping characters on a tool flagged as "simple".
Last line looks like: ;date.timezone =
I tried date.timezone = "Europe/Madrid" with no lucky.
I tried date.timezone = Europe/Madrid w/o quotes with no lucky.
Finally i guess that your are not using quotes" to avoid file parsing, but, you are scapping ALL chars, and for the MOST common timezones you need to add slash/.
Really do you spect from your users to know about scaping chars?
Solution: scape all special chars prepending with \.
My case: date.timezone = Europe\/Madrid
Once you save it you will see it correctly saved and displayed.