I've installed Drupal 4.5 and got it up and running fine and great, but there's one little niggle that I can't find an answer to.

I've enabled the block to show the calendar to browse the archives and it's fine except that I've noticed that the date that is highlighted by default moves on to the next day at about 9.00PM. The date shown by following the 'archive' link (the one where you select the date from drop down lists) similarly shows tomorrows date by default too early.

The time shown in admin>settings is the correct setting for my time zone, and there doesn't seem to be any separate settings for the calendar itself. The only thing I can think of is that my webhost is 3 hours ahead of me but I can't see why this would affect anything.

I'm using:
Apache Version 1.3.33 (Unix)
PHP Version 4.3.9
MySQL Version 4.0.20-standard

Any suggestions?

Thanks

Simon
-----

Comments

gábor hojtsy’s picture

The archive is not properly handling timezones. AFAIR the current development version for 4.5.x and 4.6.x fixes this behaviour.

paul-at-murphymaphia.com’s picture

The current CVS of archive.module doesn't correct this problem.
I have a fresh install of 4.5.2 and today's cvs of archive.module and I'm still having the problem.
Anyone out there able to help me find the solution?

kking’s picture

i just installed a fresh 4.5.2 and the calendar displays a post for today (28th) as yesterday (27th) my timezone is -500 and that the same for my user and site. any fixes out there??

thanks.