Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upparsing token 'x' in documentation parse to milliseconds timestamp not microsends timestamp #435
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Parsing token 'x' according to documentation it should parse to microseconds timestamp but it parses to milliseconds timestamp. Not sure what was intended here but there is a discrepancy.
code:
_TOKENS = ( ... "x": lambda dt: "{:d}".format(dt.int_timestamp * 1000 + dt.microsecond // 1000)