Skip to content

Distinguish between positive and negative time deltas #757

@mconigliaro

Description

@mconigliaro

The abbreviated output doesn't seem to distinguish between positive and negative time deltas, so human_readable.date_time(datetime.timedelta(seconds=3)) and human_readable.date_time(datetime.timedelta(seconds=-3)) both return 3s. It would be cool if the negative version returned something like -3s.

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