You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method Context.datetime_to_str uses strftime("%s.000000000") to convert the timestamp to the UNIX format, which doesn't work under Windows.
Use dt.timestamp() instead, which is portable across platforms.
Note: the timestamp function is only available in Python 3.3+.
The text was updated successfully, but these errors were encountered:
The method
Context.datetime_to_str
usesstrftime("%s.000000000")
to convert the timestamp to the UNIX format, which doesn't work under Windows.Use
dt.timestamp()
instead, which is portable across platforms.Note: the timestamp function is only available in Python 3.3+.
The text was updated successfully, but these errors were encountered: