use dash if date is empty