PxPlus User Forum

Main Board => Discussions => Wish List => Topic started by: koenv on September 05, 2023, 09:59:48 AM

Title: Weeknumbers in multiline-calendar
Post by: koenv on September 05, 2023, 09:59:48 AM
Would it be possible in the future to add weeknumbers to the calendar you get add to multilines, just like in Outlook? See attachment for example.
Title: Re: Weeknumbers in multiline-calendar
Post by: PxPlus on September 05, 2023, 10:23:36 AM
Its possible we could look at this however the issue with week numbers is what is week 1. 
Is it the week that contains Jan 1, the week with the first Monday (or Sunday) in the year...

Different systems use different starting weeks.
Title: Re: Weeknumbers in multiline-calendar
Post by: koenv on September 06, 2023, 06:59:31 AM
I was expecting Outlook to use the regional settings in Windows, but it looks like the regional settings only has a first day of the week option.

Outlook has it's own "first week of the year" setting which defaults to "first week with 4 days". Possibly based on other regional settings such as my country?
Title: Re: Weeknumbers in multiline-calendar
Post by: Thomas Bock on September 06, 2023, 08:02:54 AM
I think ISO 8601 can help here.
If you add a week to the calendar, then it is important to handle the weeks 52, 53 and 1 correctly.
Title: Re: Weeknumbers in multiline-calendar
Post by: koenv on September 06, 2023, 08:30:48 AM
Apparently ISO8601 weeknumbers are not always a thing outside of Europe (https://en.wikipedia.org/wiki/Week#Other_week_numbering_systems).

Since the calendar / datepicker looks like a Windows control I was hoping Windows could just take care of it, somehow.