Skip to content

GH-9: add month (mo) duration support to --last flag#10

Merged
blainemotsinger merged 1 commit into
mainfrom
GH-9
Jul 14, 2026
Merged

GH-9: add month (mo) duration support to --last flag#10
blainemotsinger merged 1 commit into
mainfrom
GH-9

Conversation

@blainemotsinger

Copy link
Copy Markdown
Member
  • make DB queries handle zero-value From/To for unbounded ranges
  • support --from without --to and --to without --from
  • update stats --help with mo support and partial range examples
  • document mo durations and partial date range behavior
  • add GetVerboseStats zero-value From test coverage
  • update help test assertion for new multi-line help text
  • validate mo duration (reject <=0, overflow guard) and use strings.HasSuffix
  • add from-only (unbounded To) DB tests for both aggregate and verbose paths
  • add data-assertion test and mo edge-case tests for stats API
  • warn on stderr when --last overrides --from/--to

- make DB queries handle zero-value From/To for unbounded ranges
- support --from without --to and --to without --from
- update stats --help with mo support and partial range examples
- document mo durations and partial date range behavior
- add GetVerboseStats zero-value From test coverage
- update help test assertion for new multi-line help text
- validate mo duration (reject <=0, overflow guard) and use strings.HasSuffix
- add from-only (unbounded To) DB tests for both aggregate and verbose paths
- add data-assertion test and mo edge-case tests for stats API
- warn on stderr when --last overrides --from/--to
@blainemotsinger blainemotsinger self-assigned this Jul 14, 2026
@blainemotsinger
blainemotsinger merged commit b8c839d into main Jul 14, 2026
2 checks passed
@blainemotsinger
blainemotsinger deleted the GH-9 branch July 14, 2026 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant