setColorId() is not working #267
Unanswered
oguzhansade
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
` $event = new Event;
$event->name = $title;
if($serviceName == 'Besichtigung')
{
$event->startDateTime = Carbon::parse($date)->timezone("Europe/Zurich");
$event->endDateTime = Carbon::parse($endDate)->addHour(1)->timezone("Europe/Zurich");
}
else{
$event->startDate = Carbon::parse($date)->timezone("Europe/Zurich");
if($serviceName == 'Reinigung' || 'Reinigung 2'){
$event->endDate = Carbon::parse($endDate)->addDay(1)->timezone("Europe/Zurich"); // 1 gün ekledik çünkü calendar da 20-23 arası yapınca 20-22 arasını işaretliyor
}
else {
$event->endDate = Carbon::parse($endDate)->timezone("Europe/Zurich");
}
Beta Was this translation helpful? Give feedback.
All reactions