0

Hello i am using the Handsontable library and i have a problem. I cant find anyway to configure the date Picker to start counting after the first Thursday of the year. As a result i get a week more than i should.

I get week 27 instead of week 26 for 29-06-2016.

Anyone has a suggestion?

JustVF
  • 1
  • Maybe check the [docs](https://docs.handsontable.com/pro/1.5.0/demo-date.html) regarding the custom datepicker options you can provide? I know you can set several options including `firstDay`, `showWeekNumber`, etc. – adriennetacke Jun 30 '16 at 18:49
  • I checked the docs and also the docs for the Pikaday which is the base for the date picker but no luck for my problem. – JustVF Jul 01 '16 at 13:17
  • Hmm. Can you explain a bit more what you mean by "start counting after the first Thursday of the year"? – adriennetacke Jul 01 '16 at 17:10
  • I guess the description is not the best.Sorry for that.What i actually mean is that i want to start counting the first week the first week after the first thursday of the year. – JustVF Jul 04 '16 at 07:45

1 Answers1

0

You will use the ISO 8601 format. In Pickaday you have to set the option "showWeekNumber" to "true". The default is "false"

stelo
  • 1