Fixed date handling for tooltips