fix DateTime.to_date_string to accept None