dmystic / joomla-gcalendar

Automatically exported from code.google.com/p/joomla-gcalendar
0 stars 0 forks source link

Events not showing on day view after 4:30PM #205

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to Day view
2. Look for events starting after 4:30PM
3. Go to week view and the events show up correctly.

What is the expected output? What do you see instead?
I see all events starting before 4:30PM in the day view but none starting
after 4:30PM.

Hi Allon!

Thanks for all your hard work on this project! I installed the update you
put out today and I am afraid I am still having the same problem. I went
poking through the code today to see what I could find. I played with this
section and I discovered that I could make everything show up consistently
but that it would be one day off.

calanderrenderer.php
function itemsForDate($year, $month, $day){

Code:
$requestedDayStart = mktime(-8, 0, 0, $month, $day, $year);

I'm in the Pacific Time Zone. I think that's why -8 works. I have set the
component, my calendar, and the page to Pacific -8:00.

What's really weird is that that week and month views are working perfectly
and the day view seems to be using the same code. I don't know why but I
still can't see events starting after 4:30PM unless I purposefully create
this error. It's not really practical to be one day off. I just thought it
might help you sort the problem if I gave you what I discovered.

All the best!
iamwaggle

What version are you using?
GCalendar:2.1.2
joomla:1.5.14
php:5.2.5
mysql:5.0.81-community
apache: 2.0.63
os: Linux
Browser:Firefox 3.5.2, IE7

http://www.americanmelodrama.com/beta/index.php?option=com_gcalendar&view=gcalen
dar&Itemid=11

Original issue reported on code.google.com by iamwag...@gmail.com on 11 Aug 2009 at 11:51

GoogleCodeExporter commented 9 years ago

Original comment by allon.mo...@gmail.com on 12 Aug 2009 at 4:48