Skip to content

Commit

Permalink
Timezones Code Incompatible
Browse files Browse the repository at this point in the history
Laravel timezones are not compatible with GotoWebinar. See https://goto-developer.logmeininc.com/time-zones for list of codes. User should rather pass the code in the request. It is an optional field. If this parameter is not passed, the timezone of the organizer's profile on GotoWebinar will be used.
  • Loading branch information
slakbal committed Apr 24, 2018
1 parent 67d6f2f commit c3f4ece
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Entity/Webinar.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,10 @@ public function __construct($parameterArray = null)
$this->times[] = new Time($parameterArray['startTime'], $parameterArray['endTime']);

//optional
$this->timeZone = $parameterArray['timeZone'] ?? config('app.timezone');
$this->timeZone = $parameterArray['timeZone'] ?? null;
$this->locale = $parameterArray['locale'] ?? $this->determineLocale() ?? 'en_US';
$this->type = $parameterArray['type'] ?? $this->type;
$this->isPasswordProtected = $parameterArray['isPasswordProtected'] ?? $this->isPasswordProtected;

}
}

Expand Down

0 comments on commit c3f4ece

Please sign in to comment.