Bug 328361 - support for "Fifth Sunday *of the month*"
support for "Fifth Sunday *of the month*"
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.8.x (obsolete)
Other All
: Normal minor
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2006-01-23 23:51 UTC by mark
Modified: 2009-07-31 12:21 UTC (History)
2 users (show)

See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Add option for "fifth [someday] of the month" (1.27 KB, patch)
2009-03-01 13:21 UTC, Marcel Stimberg
committed Details | Diff | Review

Description mark 2006-01-23 23:51:09 UTC
It is normal to schedule special events for the fifth Sunday during the year for
churchs. To accomplish this with Evolution I enter a bogus event, shut down the
data server, modify the event to have the right repeat rule, and then restart
Evolution.
It would be much easier to enter such events if the GUI supported all the
repeating weeks instead of just the first four.


Other information:
Comment 1 André Klapper 2006-05-11 09:57:32 UTC
right, confirming.
Comment 2 mark 2006-05-11 16:32:22 UTC
Sorry about the confussion, I should have been more clear. The "Fifth Sunday" or Sundays I'm talking about are in each month. In 2006 there is Jan 29, Apr 30, Jul 30, Oct 29, and Dec 31. I run the sound at church during those Sundays. Here's the repeat rule.

RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=SU;BYSETPOS=5

The GUI doesn't allow BYSETPOS to be set to 5, which is valid for all of the days of the week depending on which day of the week that the month starts on. For instance, if you look at April 2007 there are a fifth Sunday and a fifth Monday. In May 2007 there are fifth Tuesdays, Wednesdays, and Thursdays.

I can't imagine a use for any other "Fifth" besides Sundays, but who knows. If "Fifth" could be added to the drop down list all would be well.

Comment 3 André Klapper 2006-05-11 18:48:00 UTC
ah, got it. and running the sound sounds pretty cool. :-)

yepp, value should be added to calendar/gui/dialogs/recurrence-page.c.
Comment 4 Matthew Barnes 2008-03-11 00:28:42 UTC
Bumping version to a stable release.
Comment 5 Marcel Stimberg 2009-03-01 13:21:44 UTC
Created attachment 129781 [details] [review]
Add option for "fifth [someday] of the month"

Bug is rather old but still in trunk - and very easy to fix (if I didn't overlook anything) :-)
Comment 6 Milan Crha 2009-07-31 12:20:13 UTC
Patch looks good and works the same, thanks for it.
Comment 7 Milan Crha 2009-07-31 12:21:09 UTC
Created commit 0acc799 in evo master (2.27.6+)

Note You need to log in before you can comment on or make changes to this bug.