Use the appropriate format for the dates by using the UI, rather than C, locale, similarly to wxGrid.