Skip to content

TickTime can only format datetime64[ns], not other scales #27

Description

@alexhsamuel
>>> int(np.datetime64("now", "ns"))
1531768357000000000
>>> int(np.datetime64("now", "us"))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: int() argument must be a string, a bytes-like object or a number, not 'datetime.datetime'

This breaks TickTime's tp_call(), which can't convert such arguments.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions