added handling for publications, where the date element is an array

 #1778