web commit by https://id.mayfirst.org/jamie/
[ikiwiki.git] / doc / todo / Set_arbitrary_date_to_be_used_by_calendar_plugin.mdwn
1 [[tag patch]]
2
3 Here's my next version of the patch - still a work in progress.
4
5 It provides the following new features. The features are designed to preserve the behavior of the existing plugin by default.
6
7  * If you specify an event preprocessor in a post, such as:
8
9     [[event time="2008-06-24"]]
10
11  That date will be used instead of the post creation time when displaying the calendar.
12
13  * When specifying a calendar preprocessor, you can now add the following new parameters:
14
15   * time_src: by default it is set to auto. auto means that when determining the date to use for a given post, take the date given in the event preprocessor directive if it exists and if not, use the creation time of the post. The other option is event which means: take the date given in the event preprocessor directive. If there is not event preprocessor in a post, don't include the post.
16   * detail: by default it is set to 0. If set to 0, display the monthly calendar as a series of days. Each day is a link to the post on that day. If there is more than one post on a day, only one is linked to. If set to 1 - then display the title of each post on the day as a link to the post. Is 0 and 1 the best values here? On/Off? Yes/no?
17
18 The following changes are in the works:
19
20  * Switch to using HTML::CalendarMonth to create the html output
21
22  * Display the start time when detail is set to 1. 
23
24 Longer term plans:
25
26  * Support recurring events
27  
28  * Support for end time on events (including end time that is on a different day than the start time)
29
30  * Convincing the world to switch to base 10 calendar system.
31
32