agelgil/filament-ethiopic-calendar
Add "Ethiopic calendar" pickers to Filament
Installation
You can install the package via composer:
composer require agelgil/filament-ethiopic-calendar
Usage
To add ethiopic date and date-time pickers to your forms, just add ethiopic to your DatePicker and DateTimePicker.
// Yes! Just use Filament's original DatePickers and DateTimePickers!
use Filament\Forms;
Forms\Components\DatePicker::make('moderated_at')
->ethiopic(),
Forms\Components\DateTimePicker::make('published_at')
->ethiopic(),
Ignoring Jalali Conversion
If you want to ignore ethiopic conversion you can use the when and unless methods:
use Filament\Forms;
use Illuminate\Support\Facades\App;
Forms\Components\DatePicker::make('birthday')
->when(App::isLocale('am'), fn (Forms\Components\DatePicker $column) => $column->ethiopic()),
Credits
License
The MIT License (MIT). Please see License File for more information.
Related Packages
mammesat/filament-ethiopic-calendar
Filament v5 Ethiopic Calendar Date Picker with Gregorian conversion support.
87
1
agelgil/filament-easy-footer
A simple plugin to display a customizable footer in your filament application!
933
0
agelgil/filament-map-picker
Easily pick and retrieve geo-coordinates using a map-based interface in your Fil...
2,210
6
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v0.3.0 | ^8.1 | ^10.0| | MIT | |
| v0.2.0 | ^8.1 | ^10.0| | MIT | |
| v0.1.1 | ^8.1 | ^10.0| | MIT | |
| v0.1.0 | ^8.1 | ^10.0| | MIT |