Closed (fixed)
Project:
Event
Version:
5.x-2.x-dev
Component:
Basic Event
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jul 2007 at 06:15 UTC
Updated:
16 Dec 2007 at 13:12 UTC
Jump to comment: Most recent file
Comments
Comment #1
trungdong commentedJust wonder if anyone has a chance to look at this. I trace the problem to an SQL query with
TIMEDIFF(e.event_start, '%s') AS time_leftin event_database.*.inc. However, nothing looks wrong to me.It's getting more and more annoying when my site's users add more events long in the future and they're all displayed as 34 days away :(.
Comment #2
gerhard killesreiter commentedCan any of you provide a dump of their event table?
Comment #3
trungdong commentedMy event table dump is attached.
You might need to rename the file to .gz.
Comment #4
Steel Rat commentedActually I've noticed that events in the current month are off by one day as well. Example, an event I set for August 18 (today is the 14th) shows 3 days as the remaining time, when it's in fact 4 days. Same for an event for the 30th, showed as 15 days even though it's 16.
I made a simple correction in event.module to increment the $days variable if it was greater than zero. But I don't know if the fix will break anything else. Here's what I did:
In function event_block_upcoming:
Comment #5
Steel Rat commentedI have one event for next month, and it's showing the correct number of days (24), though it showed 23 before my "fix". So it's a different problem. Sorry, I guess I should have posted as a new issue.
Comment #6
killes@www.drop.org commentedThis was fixed some time ago.
Comment #7
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.