ignore invalid date format and just display value as is

fixes #5155