Welcome Guest, Not a member yet? Register   Sign In
Error : Strict Standards: date()
#6

Most of the PHP code I've seen which has to deal with timezones at some point includes something to set the default timezone to UTC or a developer-provided value. I eventually just dumped something into Bonfire's index.php to set it to UTC if it couldn't get a default from a couple of other sensible locations (ini_get('date.timezone') or date_default_timezone_get()).

I tried to find the exact code I used as the basis for what's in Bonfire, but at this point it looks like Composer and PyroCMS don't bother checking under most conditions and just set it, expecting the developer to change it in the code as needed.
Reply


Messages In This Thread
RE: Error : Strict Standards: date() - by Narf - 10-22-2015, 04:46 PM
RE: Error : Strict Standards: date() - by mwhitney - 10-26-2015, 12:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB