Skip to content

Inability to use a timestamp with milli/micro seconds #234

@antonioturdo

Description

@antonioturdo

In the comment of the formatTime method of the Client class it is argued that it is possible to use the result of microtime(true), which is a float. But in the only place where the method is used, in the message method of the same class, the value is cast to integer, making it effectively impossible to pass a timestamp with the precision of milli / micro seconds.

For reference, I saw that the cast was added in this refactoring.

I am going to open a PR to remove the cast to integer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions