<div dir="ltr"><div>Thanks for putting this together Chris.<br></div><div><br></div>I am in favor of option (1) Pure UTC.  I think it is the simplest to implement, and to get from / to other time zones is one ufunc application.  <div>

<br></div><div style>On the other hand, option (3) full time zone support isn't too bad either.  It is more work to implement but a lot of code could be borrowed from pytz -- which makes timezones usable in python at all.</div>

<div style><br></div><div style>Option (2), what datetime does, is the wrong model.  This is more complicated in both the implementation and API, and leads to lots of broken code, weird errors, and no clear right way of doing thing.</div>

<div style><br></div><div style>Be Well</div><div style>Anthony</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 12, 2013 at 2:57 PM, Chris Barker - NOAA Federal <span dir="ltr"><<a href="mailto:chris.barker@noaa.gov" target="_blank">chris.barker@noaa.gov</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, Apr 12, 2013 at 9:52 AM, Riccardo De Maria<br>
<<a href="mailto:riccardodemaria@gmail.com">riccardodemaria@gmail.com</a>> wrote:<br>
> Not related to leap seconds and physically accurate time deltas, I have just<br>
> noticed that SQLite has a nice API:<br>
><br>
> <a href="http://www.sqlite.org/lang_datefunc.html" target="_blank">http://www.sqlite.org/lang_datefunc.html</a><br>
><br>
> that one can be inspired from. The source contains a date.c which looks<br>
> reasonably clear.<br>
<br>
</div>well, I don't see any timezone support in there at all. It appears the<br>
use UTC, though I"m not entierly sure from the docs what now() would<br>
return.<br>
<br>
So I think it's pretty much like my "use UTC" proposal.<br>
<div class="im HOEnZb"><br>
<br>
-Chris<br>
<br>
<br>
<br>
<br>
--<br>
<br>
Christopher Barker, Ph.D.<br>
Oceanographer<br>
<br>
Emergency Response Division<br>
NOAA/NOS/OR&R            <a href="tel:%28206%29%20526-6959" value="+12065266959">(206) 526-6959</a>   voice<br>
7600 Sand Point Way NE   <a href="tel:%28206%29%20526-6329" value="+12065266329">(206) 526-6329</a>   fax<br>
Seattle, WA  98115       <a href="tel:%28206%29%20526-6317" value="+12065266317">(206) 526-6317</a>   main reception<br>
<br>
<a href="mailto:Chris.Barker@noaa.gov">Chris.Barker@noaa.gov</a><br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
</div></div></blockquote></div><br></div>