Fix for correct date format in Debug window