StanAngeloff / php.vim

An up-to-date Vim syntax for PHP (7.x supported)
477 stars 69 forks source link

check for *pre* set date.timezone before defaulting to UTC if unset #18

Closed ghost closed 10 years ago

ghost commented 10 years ago

prevents issues with those who leave this ini unset.

I leave it unset as it prevents me from accidentally shipping code that relies on server set timezone.

StanAngeloff commented 10 years ago

Thanks @gehidore. I've tweaked it slightly so that UTC is always the default.