Fix for datetime bug reported in dynd-python

See https://github.com/ContinuumIO/dynd-python/issues/124