'today' CSS shows system "today" not users "today", the calendar_api does not check if it is looking at the users local time to place the 'today' attribute to the table cell.

So you may get the red tabled square showing for the wrong day if the system timezone is different to the users timezone, the effects month, day, week and year views

Probably there should be an additional CSS attribute for "systemtoday" and "today"

CommentFileSizeAuthor
#3 local-user-today.patch2.21 KBdgtlmoon
user-local-day.patch2.12 KBdgtlmoon

Comments

dgtlmoon’s picture

Is probably an issue in 5.x too but i havent checked

dgtlmoon’s picture

as per karens comments on http://drupal.org/node/135296#comment-268993

The module doesn't use format_date because format_date() won't handle pre-1970 dates, which this module will handle, so there is a date_format_date() alternative.

this patch should also be adjusted for this

dgtlmoon’s picture

StatusFileSize
new2.21 KB

ignore the previous comment, today's date should never be less than 1970 :)

also use the supplied patch attached, there was some issue with the date being double handled

karens’s picture

Status: Needs review » Fixed

This is fixed in version 5.2 of Date and Calendar. Fixing it in earlier versions is complicated since every change to things like date_time() affects dozens of other things that will then be broken.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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