This tile displays date & time for a specified timezone.
This tile can be used on the Laravel Dashboard.
You can install the package via composer:
composer require solitweb/laravel-dashboard-date-time-tile
In your dashboard view you use the livewire:date-time-tile
component.
<x-dashboard>
<livewire:date-time-tile position="a1" timezone="Europe/Brussels" />
</x-dashboard>
By default, the title of the tile will display the timezone string, i.e. Europe/Brussels. This can be overidden using the optional title
parameter, e.g.
<livewire:date-time-tile position="a1" timezone="Europe/London" title="Greenwich Mean Time" />
If you want to customize the view used to render this tile, run this command:
php artisan vendor:publish --provider="Solitweb\DateTimeTile\DateTimeTileServiceProvider" --tag="dashboard-date-time-tile-views"
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.