PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Weeknumbers in multiline-calendar  (Read 1029 times)

koenv

  • Member
  • **
  • Posts: 12
    • View Profile
Weeknumbers in multiline-calendar
« 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.

PxPlus

  • Administrator
  • Diamond Member
  • *****
  • Posts: 1091
    • View Profile
Re: Weeknumbers in multiline-calendar
« Reply #1 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.

koenv

  • Member
  • **
  • Posts: 12
    • View Profile
Re: Weeknumbers in multiline-calendar
« Reply #2 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?

Thomas Bock

  • Diamond Member
  • *****
  • Posts: 177
    • View Profile
Re: Weeknumbers in multiline-calendar
« Reply #3 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.

koenv

  • Member
  • **
  • Posts: 12
    • View Profile
Re: Weeknumbers in multiline-calendar
« Reply #4 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.