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

STF <[email protected]> Tue, 02 Jun 2015 15:25:41 +0200
Newsgroups gmane.comp.mozilla.devel.calendar
Message-ID <[email protected]>
On 2015.06.01 22:15, Marcel Stör wrote:
> On 01.06.15 14:41, STF wrote:
>> For instance, someone in US shares his calendar so the BOTW is Sunday;
>> while at the same time, most European countries including UK are using
>> Monday as BOTW.
>
> I don't understand this, what am I missing? AFAIU BOTW is a /client/
> (i.e. user) setting that defines how calendar data should be /rendered/.
> If for me the week starts on Monday it also starts on Monday if [I] look at
> a US calendar, no?

Yes, and that's the point you miss.

If you share your calendar with me, and if I open it, and suppose for me 
Sunday is the BOTW, then on my screen, every week start on Sunday.

> It's irrelevant on which day the day the week starts
> in the country/region a shared calendar originates.

I don't understand of your adjective "irrelevant"...

>> One of the consequences is the shift in week number.
>
> 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

Take the simple case where 1st January is a Sunday and first week of the 
year contains 1st January (#1 above).

If BOTW = Sunday
   Week 1 contains 1st Jan (Sun), 2nd Jan (Mon), 3rd Jan (Tue), 4th Jan 
(Wed), etc

If BOTW = Monday
   Week 1 contains 1st Jan (Sun) only
   Week 2 contains 2nd Jan (Mon), 3rd Jan (Tue), 4th Jan (Wed), etc

> Btw, this is very loosely related to the old TB bug 505981 where in a
> comment[1] the various ways in which BOTW can currently be configured
> was discussed.
>
> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=505981#c26

OK, thanks.  Since that comment is a "small drop inside a big pool of 
water", I don't think it got much attention.  Let's make a new bug on 
this matter, OK?


_______________________________________________
dev-apps-calendar mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-apps-calendar