TIMEW-MODIFY(1)
π TIMEW-MODIFY β the manual page, bestie edition β¨
okay so you found timew-modify, the little command that changes the range of an interval. it's giving glow-up for your timestamps, and honestly? iconic. let's get into it π
β¨ NAME β¨
timew-modify β change the range of an interval πΈ
π SYNOPSIS π
timew modify (start|end) <id> <date>
timew modify range <id> <range>
π DESCRIPTION π
so the modify command is literally just there to change the range of an interval. that's the whole vibe. π¦
with the start or end subcommand you can specify a new start date or a new end date respectively, or, using the range subcommand, you can change the complete range in one go. the interval you're modifying gets picked out by its id β that's your main character identifier, iykyk.
if the resulting interval overlaps with an existing interval, the command will return an error. rude, but fair. π you can add the :adjust hint to force an overwrite in that case β more on that below, bestie.
psst β wanna know how to actually retrieve the interval id? check timew-summary(1). it's the plug. π₯
π§ HINTS π§
the modify command accepts the following hints:
:fillβ the:fillhint can be used instead of a date or date range to fill the gap between the interval you're modifying and its adjacent intervals. for thestartandendsubcommands, the:fillhint fills the gap between the targeted interval and the next or previous interval respectively. for therangesubcommand, it fills gaps on both sides of the modified interval. no cap, it does the work both ways. β¨:adjustβ the:adjusthint can be added to force the modification of the interval if it overlaps with an existing interval. this will overwrite the existing interval. π
π EXAMPLES π
π modify the start date of an interval
$ timew modify start @3 2020-12-28T17:00
this sets the start of interval '@3' to '17:00' of date '2020-12-28'. but bestie, listen β if this datetime is after the end of the interval, the command will return an error. π order matters, always.
π«Ά modify the end date of an interval
if the interval to be modified has the same date as today, the date can be omitted entirely:
$ timew modify end @3 18:00
similar to when modifying the interval start, the end datetime has to be after the start datetime. we love a consistent rule. π
β modify the range of an interval
instead of modifying start and end separately, you can combine them into a single call of the range subcommand:
$ timew modify range @3 2020-12-28T17:00 - 2020-12-28T18:00
as in the examples above, the date portion can be omitted if the date of the interval is today. efficient queen behaviour. π
π¦ modify the range of an interval and fill gaps
$ timew modify range @3 :fill
this modifies the interval '@3' and automatically fills any gaps between this interval and its adjacent intervals. it's giving tidy. it's giving seamless. it's giving no gaps left behind. π
πΈ SEE ALSO πΈ
timew-lengthen(1), timew-move(1), timew-resize(1), timew-shorten(1), timew-summary(1)
and that's the page!! this one's from timew 1.9.1, dated 2025-11-02 β go forth and modify your ranges with confidence, bestie π«Άπ
π¦ where this page comes from
- ubuntu resolute: timewarrior 1.9.1+ds.1-1 Β· MIT
- ubuntu stonking: timewarrior 1.9.1+ds.1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms