mirror of
https://github.com/ep1cman/unifi-protect-backup.git
synced 2025-12-05 23:53:30 +00:00
Fixed time period parsing
Also updated link to rclone docs to be more direct to the format docs
This commit is contained in:
@@ -339,7 +339,7 @@ def parse_rclone_retention(retention: str) -> relativedelta:
|
||||
days=matches.get("d", 0),
|
||||
weeks=matches.get("w", 0),
|
||||
months=matches.get("M", 0),
|
||||
years=matches.get("Y", 0),
|
||||
years=matches.get("y", 0),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user