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

looks like we can not add location into calendar. #120

Open
dextar47 opened this issue Jul 17, 2018 · 3 comments
Open

looks like we can not add location into calendar. #120

dextar47 opened this issue Jul 17, 2018 · 3 comments

Comments

@dextar47
Copy link

Hi,
I want to add location in calender info as well as through code we can set date start and end etc.
so if you have plan for this in next release?

regards;
Usman Ahmad

@ChanM0
Copy link

ChanM0 commented Jul 23, 2018

How are you setting up date start and date end?
You can add other param by adding code to buildPropertyBag function in event.php

@troccoli
Copy link

Do you mean the LOCATION property, i.e. something like LOCATION:Conference Room - F123\, Bldg. 002, or geographic location with the GEO property, i.e. something like GEO:37.386013;-122.082932?

@madbob
Copy link

madbob commented Sep 15, 2023

This feature has been initially added in 078200f

use Eluceo\iCal\Domain\Entity\Event;
use Eluceo\iCal\Domain\ValueObject\Location;
use Eluceo\iCal\Domain\ValueObject\GeographicPosition;

$location = new Location('Conference Room - F123');

// OPTIONAL:
// $geo = new GeographicPosition(37.386013, -122.082932);
// $location->withGeographicPosition($geo);

$event = new Event();
$event->setLocation($location);

This issue can be closed.

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

4 participants