Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start and End-Date Events are not shown correctly in Month-View. #70

Open
groessing-net opened this issue Feb 15, 2013 · 16 comments
Open

Comments

@groessing-net
Copy link
Contributor

If there is an event, which lasts 5 days for example, and starts on 29. June and ends on 2. July in Month-View the 28. June is not shown but instead the 3. July is assigned with the event.
Example can be seen on: http://www.opelclub.at/index.php/de/postcalendar/display/viewtype/month/date/20130601

@craigh
Copy link
Owner

craigh commented Feb 15, 2013

12345
2930123

I don't see the problem.

@groessing-net
Copy link
Contributor Author

Event: 15. int Opeltreffen Graz starts on 3rd of May and Ends on 5th of May.
If I switch to April or May in Calendarview, the Event is marked on 3rd of May, on 5th of May and on 6th of May. This is not correct, it should be marked on 3rd, 4rd and 5th of May, and NOT on 6th of May. (Screenshot attached.)

This can be reproduced on any event whích has an start and end event date.

PostCalendar

@craigh
Copy link
Owner

craigh commented Feb 17, 2013

please send a screenshot of the settings you are using in the event edit/creation

@groessing-net
Copy link
Contributor Author

Here you are, Other Settings are empty. If you like, I can give you an Account with admin-rights for PostCalendar :-)

postCalendar_Settings

@groessing-net
Copy link
Contributor Author

Any News on this issue? I've tried to debug this issue, but it seems to me, that the event-array is not build correctly...

@craigh
Copy link
Owner

craigh commented Apr 4, 2013

not yet

@groessing-net
Copy link
Contributor Author

Have you any suggestions, why this occur? I would fix it by myself, but I do not know, where to start searching :-). ...

@craigh
Copy link
Owner

craigh commented Apr 5, 2013

I cannot reproduce this issue. Can you see if the behavior continues if you switch the site to english?

@groessing-net
Copy link
Contributor Author

Same in english: http://www.opelclub.at/index.php/en/postcalendar/display
If you like, I can give you an administrative Account on my Homepage and alle files I've installed.

@craigh
Copy link
Owner

craigh commented Apr 6, 2013

please confirm you are not using any template overrides

@groessing-net
Copy link
Contributor Author

I'm not using template overrides for the Month-Block.

@groessing-net
Copy link
Contributor Author

The events are also not correctly shown in the coming soon and list view! It lokks like, that this is a general problem... Send me your mailadress, than I give you administrative Rights for the calendar on my side...

@groessing-net
Copy link
Contributor Author

I have found the problem! In the File Event.php in modules/PostCalendar/lib/PostCalendar/Api on line 638 is following code:

            $interval = DateInterval::createFromDateString("+1 day");

If I change this line to

            $interval = DateInterval::createFromDateString("+23 hours");

It works. Why this happens, I don't know. I only know that the modification works as hotfix for me at the moment.

@craigh
Copy link
Owner

craigh commented Apr 15, 2013

that must mean you have a time zone discrepancy somewhere.

@groessing-net
Copy link
Contributor Author

For me it seems that there is no time zone discrepancy:
Useraccount:
Benutzerkonto
SystemSettings:
Timezone

@craigh
Copy link
Owner

craigh commented Apr 16, 2013

CEST vs CET in your last two lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants