standardised date format between table and graph