How Does a Calendar Know Which Meeting Update Is Newer?

An organiser sends a change to a one-off meeting's start time. An earlier update can reach the attendee's calendar after the new one. In the Internet Engineering Task Force's iTIP scheduling protocol, the receiving calendar matches the event identifier, keeps the version with the higher revision number and consults the message timestamp only if the revision numbers tie.

An unnumbered wall clock hangs above a pale wooden meeting table with blue chairs.
A round wall clock with plain ticks hangs above a wooden table and blue chairs.

iTIP is the set of rules that gives a calendar message its scheduling meaning. In the Internet Engineering Task Force's iTIP specification, a REQUEST is the message an organiser uses to invite attendees or change an existing event. On the sender's side, changing the start time changes the revision number. On the receiving side, that number lets the calendar recognise the newer version even when the messages arrive out of order.

Why might the older update arrive last?

The organiser sets the order of revisions by changing the event. Delivery has its own timing. The Internet Engineering Task Force puts it this way: "In addition to this correlation, there are several factors that can cause iTIP messages to arrive in an unexpected order." The correlation is the match between an event already in the receiving calendar's store and the event described in an incoming message.

Suppose the organiser sends a morning update and then an afternoon update for the same meeting, each changing its start time. If the morning message is delayed, the receiving calendar can process the afternoon revision first. When the morning message eventually arrives, it describes a version the organiser has already replaced. Its late arrival does not change the revision number it carries.

The distinction matters even when the meeting moves from a later slot to an earlier one. An earlier start on the clock can be the newer scheduling decision. Neither the proposed start time nor the moment the recipient gets the message can settle which version takes precedence. The receiving calendar has to read the properties carried with the event.

What Reaches the Inbox
  1. Organiser: Sends a REQUEST that reschedules the meeting.
  2. In transit: An earlier update can be delayed past a later one.
  3. Receiving calendar: Matches the event in the message to the event in its calendar store.

What makes it the same meeting after the move?

The UID is the event's unique identifier. RFC 5546, the iTIP specification, distinguishes invitations from changes by looking for that identifier on the recipient's calendar. A REQUEST whose UID is already there can describe a rescheduling, an update or a reconfirmation. If the UID is absent from that calendar, the REQUEST is for an event the recipient does not already have.

This is the first decision on the receiving account. A matching subject line does not establish that two messages concern the same event. Suppose an organiser sends invitations to separate meetings with the same title. Different identifiers keep those events apart. Conversely, a move to another time can keep the same identifier because the organiser is still changing the existing event.

The identifier says where the change belongs. It says nothing about which copy is current. Once the incoming event has been matched to the stored event, the calendar can compare the organiser's revision numbers. A late message can point to exactly the right meeting and still have nothing newer to add.

Now suppose the attendee has never received the original invitation. If the revised REQUEST is the first message to arrive and its identifier is absent from that attendee's calendar, iTIP treats it as a new event there. The organiser already knows it as a revision. The absence of the older copy changes what the receiving calendar has to do: there is nothing in its store to replace. Once the event is there, an earlier invitation carrying the same identifier can be matched to it.

When does the organiser advance the revision number?

The Internet Engineering Task Force requires the organiser to increment SEQUENCE, the revision number, when DTSTART, the event's start, changes. The same rule applies to a change to DTEND, the event's end. The organiser sends the revised event in a new REQUEST; the attendee's calendar reads the revision number on the event it receives.

Some edits can leave the revision number alone. RFC 5546 distinguishes changes to the scheduled time or pattern of repetition from updates or reconfirmations that leave those details in place. The organiser's calendar must also increment the revision number when the organiser judges that another edit would jeopardise an attendee's existing participation status. The specification gives the example of moving a meeting to a distant location. The start time could stay put while the move makes an earlier acceptance doubtful.

There is also a difference between deciding which revision takes precedence and deciding whether the attendee needs to be told about a change. The Internet Engineering Task Force says the receiving calendar application should compare the old and new event details when assessing the significance of a change. The revision number can settle precedence without telling the recipient which appointment detail changed or what the application will display.

The direction reverses when an attendee replies. The organiser is now the recipient. In a REPLY, SEQUENCE identifies the revision the attendee responded to, which may be earlier than the revision the organiser now holds. An acceptance of the morning proposal, for example, can reach the organiser after the afternoon move has already been sent. The response still refers to the morning proposal; it does not move the meeting back. RFC 5546 leaves room for a calendar application to tell the organiser that the response concerns a superseded version and let the organiser decide whether to accept it.

When an Edit Advances SEQUENCE

You can read the table beyond the screen edge by scrolling from side to side within it.

Organiser's changeEffect on the revision number
Start or end movesThe organiser must increment the number.
Location moves and the organiser considers earlier attendance decisions unreliableThe organiser must increment the number.
Reconfirmation with the scheduled time and recurrence unchangedThe specification allows a REQUEST at the same revision number.

When does the message timestamp settle precedence?

DTSTAMP records when an iCalendar object carrying a scheduling method was created. The Internet Engineering Task Force's iCalendar specification says the field is expressed in UTC, a common time reference. An attendee's calendar can therefore compare the timestamps carried by the messages themselves. The clock time at which a message appeared in the receiving account is a separate matter.

For messages about the same event or the same occurrence in a series, iTIP gives the higher SEQUENCE precedence. DTSTAMP breaks the tie when the event identifier and revision number match, and, for a recurring meeting, the messages refer to the same occurrence. That can matter when the organiser sends a reconfirmation at the same revision. If a delayed message in that revision reaches the attendee after a message with a later DTSTAMP, the more recently created message still takes precedence.

Suppose both messages give the same start time, but the later update includes a fuller meeting description. The description affects what the attendee can read. It is the creation timestamp, however, that puts the newer message first in the comparison. A message carrying a lower revision number never gets as far as that tie-break, even if it is the last item to arrive.

How the Receiver Orders Matching Updates
SEQUENCE:
For the same event or the same occurrence in a series, the higher revision number takes precedence.
DTSTAMP:
When the event or occurrence and the revision number match, the later creation timestamp takes precedence.
Arrival time:
The timestamp of delivery plays no part in either comparison.

The receiving calendar needs to retain the identifier, revision number and timestamp to make that comparison the next time an update arrives. RFC 5546 also specifies that it keeps the occurrence identifier when dealing with one instance of a recurring event. This lets a late arrival be compared with the stored version it would otherwise replace.

In the case of the delayed morning update, the organiser's afternoon revision has the higher number. Once that version is in place, the older message leaves the revised start time in the attendee's calendar store unchanged.

Frequently Asked Questions

What does PARTSTAT mean on a meeting invitation?

PARTSTAT records a particular attendee's participation status for an iTIP event. An organiser can initially mark it NEEDS-ACTION; the attendee then reports a status such as ACCEPTED, DECLINED or TENTATIVE in a REPLY back to the organiser.

Can an attendee suggest a different time without moving the meeting?

An iTIP attendee can send a COUNTER proposing an alternative. The organiser can accept it by rescheduling the event or reject it by returning a DECLINECOUNTER message to the attendee.

How does iTIP identify a Monday meeting moved to Tuesday in a recurring series?

An iTIP change to an individual meeting in a series uses the series UID and a RECURRENCE-ID for the specific meeting. The recurrence identifier carries the original start value, so a Monday occurrence moved to Tuesday still carries the Monday value in that field.

Does iTIP require meeting updates to travel by email?

iTIP defines the scheduling exchange without prescribing the delivery transport. The Internet Engineering Task Force identifies iMIP as a separate specification for carrying iTIP messages over Internet email.

Which iTIP message asks for a fresh copy of an event?

An iTIP attendee sends a REFRESH to ask the organiser for the current version of an event. The organiser sends the current event back to the requester rather than sending it to every attendee.

Sources

  • Internet Engineering Task Force: iCalendar Transport-Independent Interoperability Protocol (iTIP)
  • Internet Engineering Task Force: Internet Calendaring and Scheduling Core Object Specification (iCalendar)