<?php

namespace App\Providers\Blade;

use Illuminate\Support\ServiceProvider;

class DirectiveServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap services.
     *
     * @return void
     */
    public function boot()
    {
        \Blade::directive('datetime', function ($time) {
            return "<?php echo \Carbon\Carbon::parse($time); ?>";
        });
    }
}

<?php

namespace App\Providers\Blade;

use Illuminate\Support\ServiceProvider;

class DirectiveServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap services.
     *
     * @return void
     */
    public function boot()
    {
        \Blade::directive('datetime', function ($time, $timezone = null) {
            $timezone = $timezone ?: 'config(\'app.timezone\')';
            return "<?php
\$carbon = \Carbon\Carbon::parse($time);
\$carbon->setTimezone($timezone);
echo \$carbon;
?>";
        });
    }
}

Change blade datetime directive to supported timezone
Change blade datetime directive to supported timezone
