Ticket/12932 Allow overwriting the \phpbb\datetime class

https://tracker.phpbb.com/browse/PHPBB3-12932