Comment 0 for bug 1231136

Revision history for this message
Ted Gould (ted) wrote :

For the design in the datetime indicator we need to be able to click on events in the calendar, and have them show up in the calendar application. For all other things similar to this we're using an URL to ensure proper execution and containment, that also makes sense here. I was unable to find any official prior art on a URL format to use for this, so I'm reverting to some adhoc prior art that Evolution uses.

Evolution supports a URL calendar:/// which can then take two parameters of starttime and endtime, which as a group show how much time to show and where to start end the view. For instance, a week long retreat might make more sense to show in week view, but a 15 minute meeting will be shown in day view. I think that the caller doesn't need to make that choice, but instead provide the time they're interested in.

The parameters starttime and endtime both take an integer value of the number of seconds since unix epoch in the UTC timezone. Evolution also supports a special value of "0" to mean today for quick access.