Hi,

I'm setting up a view that uses the calendar style so that I can display a TV schedule in a calendar. I'm using the 6.x-2.4 version of Calendar, and the 6.x-2.7 version of Date. My problem is that when I set the default argument to use the current date, the calendar shows me last week's data, instead of the current week. I could fix this issue myself by using a custom argument to account for the off-by-one error, but when I tried to do this, Views told me that the Calendar and the Date Browser displays MUST use a default argument of "current date". This is beyond ridiculous that I can't provide a custom argument.

Based on the off-by-one error there will be 53 weeks in the year which is wrong. The current week is week 50, but I must provide an argument of week 51 in order to get the correct data to show up. I am providing screen captures to show what I mean. This takes all the "automation" out of this process which is why I was creating a view in the first place. I should not have to go into my panel pane and update the argument manually every week just to get the correct data to show up.

If someone can resolve this or at least allow admins to create a customized default argument to allow me to fix it that would really be appreciated.

Screen capture of using a default argument: http://www.wusf.usf.edu/images/misc/screen_captures/using_default_argume...

Screen capture of using an argument to get the proper data: http://www.wusf.usf.edu/images/misc/screen_captures/using_argument.jpg

Thanks,
Danielle M.

Comments

d.cox’s picture

sub

TwoD’s picture

Check if "Use ISO-8601 week numbers" is checked in the Date settings.

I do expect 53 weeks in some years and my calendars were always 1 week number ahead when I hadn't checked it. (Swedish site.) The setting wasn't available when I originally built that site but I did get it after updating the Date module.

Neslee Canil Pinto’s picture

Status: Active » Closed (outdated)

The D6 branch is no longer supported so we're closing this issue. If you think this issue still exists in D7 you can open a new one.