[ticket/11881] Better split the timezone conversion into chunks; add test

PHPBB3-11881