Re: Beginning of the week should be a calendar's property, but not a property in Lightning

Philipp Kewisch <[email protected]> Tue, 2 Jun 2015 20:36:54 +0200
Newsgroups gmane.comp.mozilla.devel.calendar
Message-ID <[email protected]>
On 6/2/15 3:25 PM, STF wrote:
>>
>> Indeed, but what is the impact? It may be confusing only if you set up a
>> meeting with someone "on Sunday in week 40" if your week starts on
>> Monday but your peer's starts on Sunday. However, that's not how you
>> generally set up meetings.
> 
> Not only for Sunday.  It could be everyday!
> 
> Do you know that there are many standards for "first week of the year"?
>  We have:
> 1 - 1st January indicates first week of the year
> 2 - First week must contain at least 4 days
> 3 - First full week

Ah ok, so there are indeed differences for display vs defining
recurrence rules. If all you really want is to be able to create rules
that repeat for example:

"YEARLY, in calendar weeks 24,28,32 for the case where start of week is
SUNDAY"

then this can be expressed with a RRULE:

RRULE:FREQ=YEARLY;BYWEEKNO=24,28,32;WKST=SU

Then, no matter if you or your partners have the view set to start with
Sunday or Monday, it will always display correctly.

I don't think we currently allow creating such advanced rules through
the UI, because its usually an edge case (most folks enter their
meetings through specific dates instead of week numbers).

I believe we have more than one bug open for more advanced recurrence
rules. Again, if this is all you really need then I think an extension
that adds additional recurrence rules to the UI would be the best option.

Philipp