search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Date.firstDayOfWeek doest take any arguments according to typescript daypilot-react.min.d.ts

Asked by Viktor Eriksson
5 years ago.

Trying to get the first day of the week using the DayPilot.Date class with method firstDayOfWeek. But it returns the wrong day. I see that the code itself accepts the locale as argument but typescript wont allow me to pass the locale cause the method is declared with no arguments.

Answer posted by Dan Letecky [DayPilot]
5 years ago.

This should be fixed now in the latest sandbox build (2019.4.4095).

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.