make date display in metadata section more user-friendly by removing the time portion in the date string