You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running php m4b-tool.phar merge on 10.12 and PHP 7.2 results in:
[Exception]
DateTime::__construct(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.time
zone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting
this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set d
ate.timezone to select your timezone.
The text was updated successfully, but these errors were encountered:
Thank you for reporting. This is because you did not set a timezone in your php.ini (which is needed). I did not ran into this, because my php is configured correctly, but i confirm this as an enhancement, because i did not leave a hint in the documentation.
As a temporary workaround i recommend to set date.timezone=UTC in php.ini (you could also use your real timezone, like date.timezone=Europe/Berlin) or you could try to set the configuration property inline:
php -d "date.timezone=UTC" m4b-tool.phar merge
This should also work.
Let me know if there is something else i can do for you.
Running
php m4b-tool.phar merge
on 10.12 and PHP 7.2 results in:The text was updated successfully, but these errors were encountered: