Skip to content

Nitpick: date format, but format duration? #9891

@NotTheDr01ds

Description

@NotTheDr01ds

Describe the bug

Just noticing that the new format duration command has the opposite structure as the existing date format command.

How to reproduce

Honestly, I can't at the moment since I don't have the date format command yet. I'm using a nightly, but since it's in nu-cmd-extra and it doesn't seem like nightlies include that.

But that's beside the point ;-)

Expected behavior

Probably should have consistent naming here? If format duration is the first of the format subcommands, then perhaps date format should be renamed to format date?

Alternatively, duration format?

Screenshots

No response

Configuration

N/A

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:inconsistent-behaviorBehavior between different commands or types inconsistent/unexpectednotes:breaking-changesThis PR implies a change affecting users and has to be noted in the release notes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions