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

STF <[email protected]> Thu, 11 Jun 2015 20:06:57 +0200
Newsgroups gmane.comp.mozilla.devel.calendar
Message-ID <[email protected]>
On 2015.06.02 20:36, Philipp Kewisch wrote:
> On 6/2/15 3:25 PM, STF wrote:
 >
>> 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 started this discussion because in my professional life, I have 
conversations like this:
Project A will start in week 34 and last for 2 weeks, so be prepared to 
start project B in no later than week 37, etc, etc

I don't know what RRULE is.  What you're talking about is "advanced 
feature" for me :D

> 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).

Don't worry, I don't use it either ^_^

> 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.

It's OK.  I don't need it.  I just need what's written in the title of 
this thread:
Binding the "beginning of the week" property to a calendar, and as we've 
seen, probably also "first week of the year" property to the calendar as 
well.

Want me to file a request in bugzilla?