fix bug 4679, 'The correct date header is interpreted incorrectly to display strange...