Skip to content

Datetime unit from string #85

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

Closed
wants to merge 2 commits into from

Conversation

mwiebe
Copy link
Member

@mwiebe mwiebe commented Jun 7, 2011

Changes to autodetect the datetime unit from the form of the ISO 8601 string. This makes np.datetime64('2011-03-12') have a 'D' unit, for example. Also provide automatic units for 'now' and 'today', and have them throw errors when used with the wrong kind of unit.

Mark Wiebe added 2 commits June 7, 2011 15:22
@mwiebe
Copy link
Member Author

mwiebe commented Jun 9, 2011

Moved to datetime_dev pull request.

@mwiebe mwiebe closed this Jun 9, 2011
fangerer pushed a commit to hpyproject/numpy-hpy that referenced this pull request Dec 12, 2022
…ational without crashing

Merge in ~STEPAN.SINDELAR_ORACLE.COM/numpy-hpy from mq/GR-40615 to labs-hpy-port

* commit 'db2aee9653f5617dbbfd53327ac990d8af37e311':
  Basic support for PyRational type
  fully support HPyArray_Scalar
  bug fix
  bug fix
luyahan pushed a commit to plctlab/numpy that referenced this pull request Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant