Skip to content

Change DefaultDateTimeHumanizeStrategy to turn 60 min to one hour not 45 #238

Closed
@MehdiK

Description

@MehdiK

DefaultDateTimeHumanizeStrategy has an inconsistent behavior: it returns 59 seconds for 59 seconds but returns one hour for 45 minutes!! If someone wants 45 minutes to report an hour, they would most likely want 45 seconds to return a minute too, in which case they can use the PrecisionDateTimeHumanizeStrategy that does this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions