Skip to content

Clock drift issue when calling DateUtils#getDateTimeWithMillisPrecision #1541

@marandaneto

Description

@marandaneto

if using 1623849812.985 works correctly, when using 1623849812.985594 with higher precision in millis, there's an issue when (seconds * 1000) + millis.
I don't recall RN SDK sending more than millis precision, so I'm not sure if we should fix the Android SDK or the RN SDK.

A simple workaround would be to cut off after 3 digits or make the right calculation

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIssue 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