From: David Raison <david@ha...> - 2010-03-04 04:13:31
-----BEGIN PGP SIGNED MESSAGE-----
Sorry, forgot to add the list
Yaron Koren wrote:
> No, this one's an actual problem. :) The 'xofmonth' concept sounds
> interesting (though there might be a nicer name than that) - but what
> would a call to #set_recurring_event look like, using 'xofmonth'?
Well that was what the example was for ;) But let's have a real world example:
https://www.hackerspace.lu/wiki/Bootstrap_Meeting has (though indirectly):
The call might not be entirely intuitive.
If the first Saturday of a month was March 6th, [nicer name than xofmonth] would select every first
The result can be seen here (look for the Bootstrap meeting):
I must confess, I haven't spent more than 20 minutes hacking that up, I don't really know what other
changes would be necessary to make it work in all cases.
I have tested with a period of 1 and 2 though and it works for me.
HaxoGreen 2010 - the Hackers' Summercamp in Luxembourg
July 22nd till July 25th 2010, in Dudelange, Luxembourg
Register Now: http://events.hackerspace.lu/camp/2010/
mobile: +43 650 73 63 834 | +352 691 44 23 24
Wear your geek: http://syn2cat.spreadshirt.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----