Skip to content

[Feature request] Disable rounding in dayjs.duration().humanize() #2970

Description

@KaKi87

Hi,

It would be nice to have an option for { seconds: 10 } to output 10 seconds rather than a few seconds, and more importantly, for { minutes: 45 } to output 45 minutes rather than an hour.

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions