Wrong import of zero-length Google Calendar events 
Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
Wrong import of zero-length Google Calendar events
by sdf1981cgn » Tue Sep 18, 2012 4:57 pm
Hi!
When I import a Google Calendar .ics file with events that are zero minutes long (start and end time are the same), the imported end time in JEvents is shifted by 24 hours.
Example:
Google event: 2012-12-12 10:00:00 until 2012-12-12 10:00:00
becomes JEvent: 2012-12-12 10:00:00 until 2012-12-13 10:00:00
The timezones settings (twice in JEvents config, once in site config and once in Google Calendar) are all identical.
Greetings, Simon
When I import a Google Calendar .ics file with events that are zero minutes long (start and end time are the same), the imported end time in JEvents is shifted by 24 hours.
Example:
Google event: 2012-12-12 10:00:00 until 2012-12-12 10:00:00
becomes JEvent: 2012-12-12 10:00:00 until 2012-12-13 10:00:00
The timezones settings (twice in JEvents config, once in site config and once in Google Calendar) are all identical.
Greetings, Simon
- sdf1981cgn
- Posts: 5
- Joined: Tue Apr 19, 2011 1:32 am
Re: Wrong import of zero-length Google Calendar events
by Geraint » Wed Sep 19, 2012 8:56 am
That is because zero duration events are treated as 24 hour long events. The problem with the iCal specification is that there are no mechanisms for stating categorically if an event has no end time, is an event with no time (just a date).
We have therefore had to make assumptions about strange input values like this. What are you trying to achieve with a zero time event?
We have therefore had to make assumptions about strange input values like this. What are you trying to achieve with a zero time event?
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30529
- Joined: Fri Feb 15, 2008 6:14 pm
Re: Wrong import of zero-length Google Calendar events
by sdf1981cgn » Wed Sep 19, 2012 10:05 am
Hi!
It is supposed to be an event which should be marked as "no specific end time" in JEvents. There is no dedicated checkbox for that in Google Calendar.
Greetings
It is supposed to be an event which should be marked as "no specific end time" in JEvents. There is no dedicated checkbox for that in Google Calendar.
Greetings
- sdf1981cgn
- Posts: 5
- Joined: Tue Apr 19, 2011 1:32 am
Re: Wrong import of zero-length Google Calendar events
by Geraint » Wed Sep 19, 2012 1:23 pm
If you set the end time as exactly midnight it should do what you want (from memory).
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30529
- Joined: Fri Feb 15, 2008 6:14 pm
Re: Wrong import of zero-length Google Calendar events
by sdf1981cgn » Wed Sep 19, 2012 2:14 pm
No, that does not work; then the event becomes
2012-12-12 10:00:00 until 2012-12-13 00:00:00
2012-12-12 10:00:00 until 2012-12-13 00:00:00
- sdf1981cgn
- Posts: 5
- Joined: Tue Apr 19, 2011 1:32 am
Re: Wrong import of zero-length Google Calendar events
by sdf1981cgn » Fri Oct 26, 2012 8:19 am
Any further suggestions? The problem is still not solved.
Kind regards, Simon
Kind regards, Simon
- sdf1981cgn
- Posts: 5
- Joined: Tue Apr 19, 2011 1:32 am
Re: Wrong import of zero-length Google Calendar events
by Geraint » Fri Oct 26, 2012 10:09 am
In JEvents 3.0 I set the 'no end time' flag for events of zero length. Watch out for the next build early next week (either Beta 3 or the RC).
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30529
- Joined: Fri Feb 15, 2008 6:14 pm
Re: Wrong import of zero-length Google Calendar events 
by sdf1981cgn » Fri Oct 26, 2012 11:10 am
Great, thanks!
- sdf1981cgn
- Posts: 5
- Joined: Tue Apr 19, 2011 1:32 am
8 posts
• Page 1 of 1
Return to Jevents 2.x (Free Access)
Who is online
Users browsing this forum: No registered users

