Ticket/12932 Allow overwriting the \phpbb\datetime class

https://tracker.phpbb.com/browse/PHPBB3-12932
Errm. Shouldn't this rather be in a yml config file of the container?