Dates have to be valid UTF-8. oss-fuzz#28458 Signed-off-by: Philip Withnall <pwithnall@endlessos.org>