pydata/pandas — pull request #7075 by filmor (2014-05-08 08:57:46+00:00)
Title: Fix XlsxWriter always using `date_format`.

Since `datetime.datetime` derives from `datetime.date` the second `if`-clause will always trigger,
leading to the `num_format_str` being overwritten by the `date_format`.