On Thu, Mar 20, 2014 at 9:39 AM, Sankarshan Mudkavi
<smudk...@uwaterloo.ca>wrote:

> A naive datetime64 would be unable to handle this, and would either have
> to ignore the tzinfo or would have to throw up an exception.


This is not true.  Python's own datetime has no problem handling this:

>>> t1 = datetime(2000,1,1,12)
>>> t2 = datetime(2000,1,1,12,tzinfo=timezone.utc)
>>> print(t1)
2000-01-01 12:00:00
>>> print(t2)
2000-01-01 12:00:00+00:00
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to