fixing date format on record page