adding centering to dates