The week number is one week behind/off in the D6 version of the module. I think this comes from some calculation error in the iso8601Week function in the old version of jQuery UI that comes with D6.

In this patch I simply add one to the week number... I'm almost sure that this is not a bulletproof solution, but it works for now.

CommentFileSizeAuthor
week_one_behind.patch641 bytescableman0408
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikl’s picture

Does this also apply to the Drupal 7 version?

mikl’s picture

Status: Active » Fixed

I first committed your +1 change, but then I figured we could avoid the issue by not asking for the week number for monday, but thursday, so I changed it to this: http://drupalcode.org/project/opening_hours.git/commitdiff/f5a918c

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.