Open GoogleCodeExporter opened 8 years ago
PHP's configuration files should contain server's default timezone. If its not
set, each date function will give a warning. You should add it there rather
than anywhere else.
Textpattern's timezone/date handling is bit incomplete and outdated, so yes, we
could actually suppress those warnings away. We could add the statement to the
config file, but I would rather set it programmatically when missing. You of
course will get wrong server timezone, but hey, you really should configure it
in the first place.
The config might be used elsewhere too and adding there something that actually
does something rather than just data, isn't the most ideal solution.
Original comment by jukka.m.svahn
on 24 Nov 2013 at 12:23
Original issue reported on code.google.com by
gaek...@gmail.com
on 13 Nov 2013 at 12:05