[Numpy-discussion] Making datetime64 timezone naive

Nathaniel Smith njs at pobox.com
Tue Oct 13 18:58:14 EDT 2015

On Oct 13, 2015 3:49 PM, "Chris Barker" <chris.barker at noaa.gov> wrote:
> However, numpy datetime is optimized for compact storage and fast
computation of absolute deltas (actual hours, minutes, seconds... not
calendar units like "the next day" ).

Except that ironically it actually can't compute absolute deltas accurately
with one second resolution, because it does the POSIX time thing of
pretending that all UTC days have the same number of seconds, even though
this is not true (leap seconds).

This isn't really relevant to anything else in this thread, except as a
reminder of how freaky date/time handling is.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20151013/cd13693e/attachment.html>

More information about the NumPy-Discussion mailing list