Skip to content

Value of the Fixed Time for the End of the Green Times

adr~end-of-day-tag~1

Needs: dsn

Context and Problem Statement

A short task such as Prepare the next day is meant to be the last task of each working day. A fixed time with at: does not fit: the green times of a time map end at different times on different days, and a meeting can take the end of the day. The planner gives the other tasks the earliest free times in the order of the list, so a task without a time lands wherever the list puts it, and in the yellow or red times when the day is full. How does a task state that it takes the end of the green times of its time map?

Considered Options

  • The value end of the tag at:, as in at:end
  • A tag of its own, such as last:1
  • A fixed time with at:, such as at:17:45
  • A time map of its own for the task, with green times only at the end of the day

Decision Outcome

Chosen option: "The value end of the tag at:, as in at:end", because the task is placed before the others like a task with a fixed time, which is what at: means already, and at:end reads as what it does.

Consequences

  • Good, because the task follows the time map and the calendars day by day, without an entry of its own in the calendar.
  • Good, because it works for the entries of ice_recur.txt as at:14:00 does.
  • Bad, because other tools that read at: as a time do not understand the value.

Pros and Cons of the Options

A tag of its own, such as last:1

  • Good, because at: keeps a time as its only value.
  • Bad, because the task would have two tags that both state when it takes place, and at: together with it would contradict it.

A fixed time with at:, such as at:17:45

  • Good, because the planner reads it already.
  • Bad, because it ignores the time maps and the calendars: on a day with a meeting until 18:00, or with green times until 16:00, the task stands at the wrong time.

A time map of its own for the task, with green times only at the end of the day

  • Good, because the planner reads it already.
  • Bad, because the map repeats the end of each day of the general map and is wrong as soon as that one changes.
  • Bad, because a task earlier in the list can still take that time first.