The current date is one day ahead, does not match sitewide timezone when set to that or user timezone either. I have both set the same.

CommentFileSizeAuthor
#7 time_fix2.patch409 bytesSteve Dondley
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

killes@www.drop.org’s picture

Status: Active » Postponed (maintainer needs more info)

which tz are you in, in which tz is your server?

g76’s picture

Thank you for your response, I really appreciate the help.

Timezone: Eastern Standard Time(US): currently it is Friday March 30th, 11:39 am

-Yesterday, March 29th, the calendar read March 30th. It continued to do so even after a fresh install of the latest event module 5.x-2.x, originally I was running 5.x-1.x with the same issue.

-Today the event date reads Friday March 30th, which is correct. I hope it changes tommorrow reflecting the correct date. I will be out of town until Sunday, but will re-check it then and let you know.

Jen

g76’s picture

We have a reseller hosting account. Support syas the server is running on Central Daylight Time. Is this an issue?

njbagger’s picture

I have the exact same problem! Is there a fix to this?

Timezone is Central European standard time (GMT+1).

-Niels

killes@www.drop.org’s picture

I'd like to debug this, can you look into the event table and post the dates that are contained in there?

sdsheridan’s picture

I'm having this problem too... my event calendar has the 1st of December highlighted now, which isn't 'til tomorrow. But this morning it was the 30th of November...

Steve Dondley’s picture

FileSize
409 bytes

Heh, I noticed my date was saying December 1 on Nov 30, too! So, here's a patch.

Steve Dondley’s picture

Status: Postponed (maintainer needs more info) » Needs review
killes@www.drop.org’s picture

Version: 5.x-2.x-dev » 5.x-1.x-dev

This appears to be for the 5.1 branch?

Steve Dondley’s picture

No, I'm pretty confident it's the latest branch. There may be some line offsets because I had made a hack to the file.

EmpireNM’s picture

This patch works to fix the date issue, but the current date no longer gets a class of "today". It does get classed as "selected". I'm not sure what that is for. So I used that class to style the current date the calendar instead.

GoofyX’s picture

Subscribing...

850’s picture

I have the same issue also. I tried the patch and changed the class as dlivingstone said which worked in the block, but on the full calendar page it still had a day later highlighted.

japerry’s picture

Status: Needs review » Closed (outdated)

Event for Drupal 8 is unrelated to older versions. If an issue similar to this one exists, please open a new issue with the 8.x branch.