I create a customized calendar by using Zend framework.
Everything is normal as I expected except the country is United States
by default also I have set my timezone to Asia/Tokyo.
I have read zend developers manual and gcal and gd name space
introduction. I couldn't find a country property to set. The
following is the code of my customized calendar entry.
$service = new Emcomcon_Gdata_Calendar($client);
$calendar = $service->newCalendarEntry();
$calendar->title = $service->newTitle('Test Calendar');
$calendar->summary = $service->newSummary('This calendar is
dedicated to the essential financial news schedules.');
$calendar->where = array($service->newWhere('Japan/Tokyo','',''));
$calendar->timezone = $service->newTimezone('Asia/Tokyo');
$calendar->hidden = $service->newHidden(false);
$calendar->selected = $service->newSelected(true);
$calendar->color = $service->newColor('#2952A3');
$calendar->accesslevel = $service->newAccessLevel('owner');
$calendarResult = $service->insertCalendar($calendar);
return $calendarResult->id->text;
The country displayed in my new calendar is united states.
Anyone can help me out?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---