Hi,
I have been using the Date Browser for my website, and it works very nicely.
I use it to browse through weeks, and use a view to show the data that relates to that week.
I have one problem though: when i use the Date Browser without any arguments, the default week isn't corresponding to the actual time.
For a few weeks, the Date Browser first showed the week of 12 dec 2006, and since this week it shows me the week of 18 dec 2006 by default, even though it is 27 dec 06 now, the week of 25 dec (starting day of the week is monday here).
What can be the problem of this? I wonder why it doesn't show me the monday of the current week, as that should be default behaviour... My time settings on the server and site all seem correct.
Hope anyone can help.
Comments
Comment #1
svendecabooterI was able to get this working...
I changed the following code in date_views.inc on line 710:
to:
The -604800 goes a week back, but that's not really needed i think? I'm not that familiar with the date browser module, but i suppose it should show the current week, not the week before.
Anyway, this works for me (my site has monday as starting day of the week). Maybe someone with more experience on the date browser module should test properly if this bit of code needs changing or not.
Comment #2
karens commentedYou're right, and this is now fixed. Thanks!
Comment #3
(not verified) commented