fixed little nasty bugs
added conversion from unicode string to np.datetime64 if needed