Filament Jalali Date Time Picker Field
This package is a Drop-in replacement for DatePicker
and DateTimePicker
field type you just need to replace those with JalaliDatePicker
or JalaliDateTimePicker
and as simple as that you can have Jalali Date Time picker in your app.
it will respect all default DatePicker setting like locale and timezone settings that you use and it will return the gregory
.aka miladi
to the back end.
Installation
You can install the package via composer:
composer require ariaieboy/filament-jalali-datetimepicker
Usage
use Ariaieboy\FilamentJalaliDatetimepicker\Forms\Components\JalaliDatePicker;
use Ariaieboy\FilamentJalaliDatetimepicker\Forms\Components\JalaliDateTimePicker;
JalaliDateTimePicker::make('published_at')
JalaliDatePicker::make('date_of_birth')
for more information check the default DateTimePicker Docs : https://filamentphp.com/docs/2.x/forms/fields#date-time-picker
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.