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
16 days 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]
16 days ago.

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

New Reply
This reply is
Your name (optional):