On Thu, Apr 18, 2013 at 2:27 AM, Joris Van den Bossche <
jorisvandenboss...@gmail.com> wrote:

> ANyone tested this on Windows?
>>
>
>
> On Windows 7, numpy 1.7.0 (Anaconda 1.4.0 64 bit), I don't even get a
> wrong answer, but an error:
>
> In [3]: np.datetime64('1969-12-31 00')
> Out[3]: numpy.datetime64('1969-12-31T00:00Z','h')
>
> In [4]: np.datetime64('1970-01-01 00')
> ---------------------------------------------------------------------------
> OSError                                   Traceback (most recent call last)
> <ipython-input-4-ebf323268a4e> in <module>()
> ----> 1 np.datetime64('1970-01-01 00')
>
> OSError: Failed to use 'mktime' to convert local time to UTC
>
>
Have you tried np.test()?  I know some of the tests I added awhile back
utilized pre-epoch dates to test sorting and min/max finding.

Ben Root
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to