![]() |
Quote:
If you don't get around to it I might give it a shot down the line. |
Can you try it with this file?
I did something for the ranged events... Eventpreview is kind of complicated. What should I do if there are 5 events? which one is the first? |
I'd say ignore the ordering... it's more of a nice small feature than anything that should be robust, in my opinion... so just grab the events so people can see what's going on.
As for the ranged events... very close to working. The one bug I have seems to be related to timezone offset. Since I'm PST (-8), any event 4pm or after is showing up for the next day instead. |
Any event that starts 4pm or after is showing up for the next day....
Can you check if this is only for ranged events or also for recurring events? If so, then it's most probably the utc field in the database... |
Here's an updated file, try this and tell me if it works please...
|
Hmm, that just seems to have pushed the threshold back an hour, to 5pm. The bug happens with any event that allows you to schedule a time.
Anytime that's 5pm or after appears for the next day. So if I have a single-day ranged event from 9pm-11pm on August 10th, the link will appear on August 11th. |
Quote:
|
Daylight Savings Time?
|
I don't see how it can be daylight savings time, as I "actually" didn't touch anything that has to do with that. Thanks for the input though...
Why dont you try changing the three occurences of $theday = date( to $theday = gmdate( I'll also look into changing the thing checking the date, if that doesn't solve the problem. |
Ok it has to be a time-zone bug. Because when you enter calendar event data it allows you to choose the timezone, so vbulletin must be doing some additional calculations based on the user's own timezone selection, and the timezone for which the event was added.
Pacific Time (for both event and user setting): August 14th 8am - 4:30pm ---works fine August 14th 8am - 5:00pm ---links the 15th as well |
All times are GMT. The time now is 11:04 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|