Home Unanswered Active Tags New Question

Daypilot Scheduler Zooming

There is a small but important bug in your zoom code. When you click on a month to zoom into the weeks of that month, the first week number is off by one! leaving us with [ week 3, week 3, week 4, week 5]. the first week is always 1 too many! We just purchased this tool, and need to fix this issue. Thanks
Asked by Christina P 1 year ago.
1 other person also wants an answer.
Replies

We have the same problem. Is there a way to solve or go around it?
A reply would be nice.

Comment posted by Dirk 4 months ago.

This could happen for WeekStarts=Sunday. The week number calculation is based on ISO 8601 which uses Monday as the first day of week. The supplied Sunday belongs to a previous week according to the standard.

It's fixed now in build 6.6.2336:

http://www.daypilot.org/daypilot-pro-6-6.html

It finds the Monday of the current week and passes it to Week.WeekNrISO8601() method.

The workaround would be to use custom HTML for the header using BeforeTimeHeaderRender event handler (for e.IsColGroup == true).

Answer posted by Dan Letecky [DayPilot] 4 months ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java