-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datetime support #38
Comments
I think I agree with the above statement but it reads slightly ambiguously for me. The current numpy model is a reasonable model though mostly sidesteps timezone issues . I just want to make it clear that the original numpy model of implicitly assuming whatever timezone the user was in was very bad and shouldn't be replicated! xref: numpy/numpy#3388, numpy/numpy#6453 |
This is a small digression from the actual issue, but since there have been questions about the extensibility of Use the constructor syntax to mark an
If another application wants to use e.g.
Pattern matching will distinguish the constructed types and prevent gufuncs from using the wrong one (e.g. in the case on |
Back to the original issue. If we add I understand from NumPy that this is always an But that is only a small part of the support. Interpreting the data should be part of |
What do you think of the idea about splitting datetime/time and timezone into two orthogonal concepts. Having timezones living inside a field within a datetime / time object never sat well with me. On many workloads all time related objects live within the same timezone and hence would benefit from the timezone being stored at a much higher level of abstraction than on individual datetime objects. |
This library needs standard date, time, and datetime support. NumPy's model should be use (with the adjustment that parsing dates and times where no time-zone is specified should provide a time-zone independent datetime with an implicit date-time assumed by the user of the data).
The text was updated successfully, but these errors were encountered: