Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 48

ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
04/21/16 08:23 PM (8 years ago)

Calendar Events Plugin - Date issue

Hi All, I'm using Chris1's Calendar Event plugin to pull data from the google calendar api. http://www.buzztouch.com/plugins/plugin.php?pid=FFCADB10075C3D2CD3196FA The apps are published and working well - showing a list of events that can be natively added to an iOS or Android calendar. The only issue I have is that all day events (specifically anything that starts at 12am and finishes at 12am on any subsequent day) is showing up as "Jan 1st 2001 11:00am till 11:00am". It only happens with those "all day events" that start and end at "12:00am". The php generating the json seems pretty straight forward in the getEvents.php file ... "startDate":"$startDateTime","endDate":"$endDateTime","day":"$day","month":"$month Any ideas where to go next? I've had a play on the google console at https://developers.google.com/apis-explorer/ but can't seem to get my query right for look at the raw data. Cheers Darrel
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
04/21/16 08:36 PM (8 years ago)
A little further digging to get the raw data ... substitute the path and change to your calendar email address. http://your.bt.server.com/files/plugins/CR_eventList/files/getEvents.php?action=getGoogleEvents&[email protected]
 
Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
like
04/29/16 05:36 AM (8 years ago)
.. ;-)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.