[ticket/13105] Add a test for relative dates

PHPBB3-13105