mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-04-10 05:20:17 +00:00
Merge 4ea42eba4d into 6357bc272c
This commit is contained in:
commit
99989c5c97
1 changed files with 1 additions and 1 deletions
|
|
@ -167,4 +167,4 @@ class Timestamp:
|
|||
|
||||
:rtype: Timestamp
|
||||
"""
|
||||
return Timestamp(seconds=int(dt.timestamp()), nanoseconds=dt.microsecond * 1000)
|
||||
return Timestamp(seconds=int(dt.timestamp() // 1), nanoseconds=dt.microsecond * 1000)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue