Preserve closed square brackets in displayDate but remove single,
unclosed brackets