[Numpy-discussion] Making datetime64 timezone naive
shoyer at gmail.com
Tue Oct 13 13:36:29 EDT 2015
On Mon, Oct 12, 2015 at 12:38 AM, Nathaniel Smith <njs at pobox.com> wrote:
> One possible strategy here would be to do some corpus analysis to find
> out whether anyone is actually using it, like I did for the ufunc ABI
> "datetime_to_string" is an easy token to search for, though it looks
> like enough people have their own functions named that that you'd have
> to do a bit of filtering to ignore non-numpy-related uses.
Yes, this is a good approach. I actually mistyped the name here -- it's
actually "datetime_as_string". A GitHub search does turn up a handful of
uses outside of NumPy:
That said, I'm not sure it's worth going to the trouble to ensure it
continues to work in the future. This function was entirely undocumented,
and doesn't even have an inspectable function signature.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion