Fix date formatting to work with NumPy 1.7
Merge pull request #920 from rhattersley/numpy-1.7-date-arrays

Fix date formatting to work with NumPy 1.7