Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ClockLive#UnsafeAPI.currentTime should use ChronoUnit for conversion #9960

@hearnadam

Description

@hearnadam

See existing conversion + comment:
https://github.com/zio/zio/blob/series/2.x/core/shared/src/main/scala/zio/Clock.scala#L189-L201

Since we now have a dependency on scala-java-time for Native+JS, I believe we can use ChronoUnit
https://github.com/cquiroz/scala-java-time

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