heatmap: fix date wrapping