Debugging for the date picker