Skip to content

Message timestamps seem to be invalid. #277

@tcmal

Description

@tcmal

Getting the last time stamp of a group (or of a message) gives a string of an abnormally high integer value:

>> thread = client.fetchThreadList()[0]
>> ts = int(thread.last_message_timestamp)
>> ts
1522504826129
>> datetime.fromtimestamp(ts)
ValueError: year 50216 is out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions