Meeting in groups of three or more is common practice for people.
Sometimes you can phone and agree on the place and time of the meeting, sometimes you can announce the meeting in your blog.
However, the situation may become more complicated if you are not collecting a party for your birthday in your native village, but an online meeting with participants from different parts of the world and, as a result, in different time zones, which are only in Russia 11. So when Wednesday, someone may already be Thursday, and choosing the optimal time for a meeting may be nontrivial.
The gadget I made is meant just for such situations.
- the organizer inserts a gadget into the ad and indicates the dates when the meeting is expected;
- participants mark the time when they are free these days, and their choices are remembered;
- the gadget shows how many participants can be online for each time interval;
- all participants see a sign in their own time zone, but if they wish, they can switch to someone else’s, see “how much time it will have”;

You can see it in action in
this wave.The URL of the gadget to be inserted into the waves by the “install gadget by URL” button is in the “help” tab.
And in a separate wave there is an
installer with a convenient button , so as not to sweat with URLs.
The algorithm itself is very simple - for each interval allocated to the participants, intersections with all the others are sought and the number of such intersections is considered. Ie order n * m for each update schedule.
(I naively thought that I would draw a gadget in two sittings. There were, however, 80 sessions, somewhere with a dozen sessions.)
Along the way, a jquery-ui widgetin was drawn for the “free time” graph,
as well as a prototype of the Date object with a choice of time zone.
All this is hosted on Google code .
')
Criticism and suggestions, both in terms of functionality and code, are most welcome here in the comments or in the demo wave.