You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: allow all three --from/--to/--duration flags in edit when consistent
Previously, specifying --duration, --from, and --to together was rejected
outright. Now all three are accepted as long as they are consistent
(to - from = duration), giving users explicit control without ambiguity.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
> Any two of `--duration`, `--from`, and `--to`can be combined (the third is computed), but all three cannot be specified together. `--from` only: keeps duration, shifts the time window. `--to` only: keeps start, recalculates duration. `--duration` only: keeps start, shifts end. Entry ID and creation timestamp are preserved. If the entry is not found in the current repo's project, all projects are searched.
187
+
> Any combination of `--duration`, `--from`, and `--to`is allowed. With two flags, the third is computed. With all three, they must be consistent (to - from = duration). `--from` only: keeps duration, shifts the time window. `--to` only: keeps start, recalculates duration. `--duration` only: keeps start, shifts end. Entry ID and creation timestamp are preserved. If the entry is not found in the current repo's project, all projects are searched.
> Any two of `--duration`, `--from`, and `--to`can be combined (the third is computed), but all three cannot be specified together. `--from` only: keeps duration, shifts the time window. `--to` only: keeps start, recalculates duration. `--duration` only: keeps start, shifts end. Entry ID and creation timestamp are preserved.
76
+
> Any combination of `--duration`, `--from`, and `--to`is allowed. With two flags, the third is computed. With all three, they must be consistent (to - from = duration). `--from` only: keeps duration, shifts the time window. `--to` only: keeps start, recalculates duration. `--duration` only: keeps start, shifts end. Entry ID and creation timestamp are preserved.
0 commit comments