[Numpy-discussion] Making datetime64 timezone naive

Alexander Belopolsky ndarray at mac.com
Mon Oct 19 16:25:07 EDT 2015

On Mon, Oct 19, 2015 at 4:12 PM, Stephan Hoyer <shoyer at gmail.com> wrote:

> On Mon, Oct 19, 2015 at 12:34 PM, Chris Barker <chris.barker at noaa.gov>
> wrote:
>> Also -- I think we are at phase one of a (at least) two step process:
>> 1) clean up datetime64 just enough that it is useful, and less
>> error-prone -- i.e. have it not pretend to support anything other than
>> naive datetimes.
> I agree with Chris. My intent with this work for now (for NumPy 1.11) is
> simply to complete phase 1.

This is fine.  Just be aware that *naive* datetimes will also have the PEP
495 "fold" attribute in Python 3.6.  You are free to ignore it, but you
will loose the ability to round-trip between naive stdlib datetimes and
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20151019/4a5dfce1/attachment.html>

More information about the NumPy-Discussion mailing list