[ticket/11973] Do not use arrays for dateformat

PHPBB3-11973