Skip to content

--since -7d silently returns empty result instead of erroring on negative relative offset #34

@DTTerastar

Description

@DTTerastar

Command

```
liftoff-export bodyweights list --since -7d
```

Actual

```
No bodyweights found.
```
Exit 0.

Expected

Reject negative relative offsets with a clear error (consistent with how `7x` errors with `invalid date unit`). A negative "days ago" doesn't have a defined meaning in the contract — it shouldn't silently be parsed as "7 days in the future" producing an always-empty filter.

Severity

minor

Metadata

Metadata

Assignees

Labels

area:dates--since / --until parsing and windowing.kind:bugObserved behavior diverges from documented behavior.priority:lowPolish, cosmetic, or open-ended discussion with no immediate action.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions