Closed (fixed)
Project:
Event
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 Oct 2003 at 08:06 UTC
Updated:
6 Nov 2003 at 12:20 UTC
Currently, the background color of the current day's cell in the calendar is changed to make it stand out. However, the current day is calculated using the server's time instead of the user's time. This will cause the calendar to display the wrong date when the difference between the user's time zone and server's time zone spans across midnight.
Comments
Comment #1
Steve Dondley commentedComment #2
Kjartan commentedCheck admin/system, you can select the date format there. Event module should respect this, if it doesn't it will be fixed for the Drupal 4.3 release I'm working on.
Comment #3
Kjartan commentedWrong issue, this is still fixed in my working copy just needs to be commited. I've noticed Drupal uses date() in format_date instead of gmdate() too, not sure if this affects anything though.
Comment #4
(not verified) commentedYes, Kjartan, it is problem that Drupal uses date() instead of gmdate(), as there is already a timezone shift in the date. I was wondering why the date values printed by drupal are not all right, but had better things to do, so I have not looked into it... Now you pointed out, where is the bug :) Would be nice to fix...
Comment #5
(not verified) commentedAutomatically closed due to inactivity (marked fixed for 14 days).