Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages
N

Persian Date Picker

This package is possibly abandoned. Please proceed with care.

Installation Instructions

Installation

composer require amidesfahani/nova-persian-date-field

The package will automatically register itself.

Examples

PersianDate::make('Join Date', 'created_at')
    ->min('lastmonth')
    ->max('nextday')
    ->format('jYYYY-jMM-jDD')
    ->formats([
        'FormField' => 'jYYYY/jMM/jDD HH:mm',
        'IndexField' => 'jYYYY/jMM/jDD',
        'DetailField' => 'jYYYY/jMM/jDD HH:mm'
    ])
    ->humanize()
    ->type('datetime')
    ->sortable(),

Readme

nova-persian-date

Laravel Nova Persian Date Field

If you are using Nova 3, please refer to this repository.

Installation

You can install the package via composer:

composer require amidesfahani/nova-persian-date-field

The package will automatically register itself.

Examples

PersianDate::make('Join Date', 'created_at')
    ->min('lastmonth')
    ->max('nextday')
    ->format('jYYYY-jMM-jDD')
    ->formats([
        'FormField' => 'jYYYY/jMM/jDD HH:mm',
        'IndexField' => 'jYYYY/jMM/jDD',
        'DetailField' => 'jYYYY/jMM/jDD HH:mm'
    ])
    ->humanize()
    ->type('datetime')
    ->sortable(),
.vpd-dir-rtl {
  font-family: 'IranSans'
}
.vpd-dir-ltr {
  font-family: 'Tahoma'
}

Credits

Vue Persian DateTime Picker

Licence

This project is licensed under the MIT License

Back to Top
Added 3 years ago

This package is listed on the Packagist API, but has no stable tags.

Please note that the Packagist cache is pretty long, so some times you just need to check back in an hour.

Favorites

0 users favorited

Rating

N/A
(out of 5)
★★★★★
★★★★
★★★
★★
0 ratings

Author

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas