Skip to content

Time duration 1m, 12m etc. are not months (as the doc says) #1781

Description

@tlikonen

The documentation is telling that m stands for months, for example 12m for 12 months. However to me it looks more like minutes.

In my repo with 12m:

rustic forget --dry-run --group-by '' --keep-within-weekly 12m
[...]
[INFO] would have removed 419 snapshots.

The same repo with 12month:

rustic forget --dry-run --group-by '' --keep-within-weekly 12month
[...]
[INFO] would have removed 365 snapshots.

Clearly 12m and 12month are different: the former removes 419 snapshots and the latter 365 snapshots.

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-triageStatus: Waiting for a maintainer to triage this issue/PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions