Skip to content

Invalid timeIntervalSince1970 date #119

@ShacksVS

Description

@ShacksVS

We are using Kronos like this

    let time = String(Int(Clock.now?.timeIntervalSince1970 ?? Date().timeIntervalSince1970))

And sometimes we are getting an error because Clock.now?.timeIntervalSince1970 can give incorrect time (sometimes even in days).

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