]> git.localhorst.tv Git - alttp.git/blobdiff - app/Console/Commands/SyncSpeedGaming.php
simple schedule display
[alttp.git] / app / Console / Commands / SyncSpeedGaming.php
index 656a079cf87ad2c843b9131c0c6a42bc6e104776..8c74c68124428eb190237dae117f957680ceb0fe 100644 (file)
@@ -93,7 +93,7 @@ class SyncSpeedGaming extends Command {
                }
                $episode->event()->associate($event);
                $episode->title = $sgEntry['match1']['title'];
-               $start = Carbon::parse($sgEntry['when']);
+               $start = Carbon::createFromFormat('Y-m-d\TH:i:sP', $sgEntry['when']);
                if ($start->ne($episode->start)) {
                        $episode->start = $start;
                }