A Drop-in Jalali Replacement for filament DateTimePicker

Overview

Filament Jalali Date Time Picker Field

Ariaieboy Jalali Date Picker Latest Version on Packagist GitHub Code Style Action Status Total Downloads

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.

You might also like...

A Hackable Markdown Note Application for Programmers. Version control, AI completion, mind map, documents encryption, code snippet running, integrated terminal, chart embedding, HTML applets, plug-in, and macro replacement.

A Hackable Markdown Note Application for Programmers. Version control, AI completion, mind map, documents encryption, code snippet running, integrated terminal, chart embedding, HTML applets, plug-in, and macro replacement.

Yank Note A hackable markdown note application for programmers Download | Try it Online Not ecommended English | 中文说明 [toc]{level: [2]} Highlights

Dec 31, 2022

Pretty, customisable, cross browser replacement scrollbars

jScrollPane - cross browser custom scroll bars jScrollPane is a jQuery plugin which allows you to replace a browser's default scroll bars (on an eleme

Dec 15, 2022

Lightweight plugin for easy responsive images replacement

Responsive image replacement Check out the example here. resonsive-img.js is a lightweight plugin for fast, clean and easy responsive image replacemen

Sep 20, 2022

A Cypress plugin that generates test scripts from your interactions, a replacement Cypress Studio for Cypress v10 🖱 ⌨

A Cypress plugin that generates test scripts from your interactions, a replacement Cypress Studio for Cypress v10 🖱 ⌨

DeploySentinel Cypress Recorder Plugin Create Cypress tests scripts within the Cypress test browser by simply interacting with your application, simil

Dec 15, 2022

shell script replacement; write shell scripts in js instead of bash, then run them with a single static binary

yavascript YavaScript is a bash-like script runner which is distributed as a single statically-linked binary. Scripts are written in JavaScript. There

Dec 29, 2022

This package is a replacement for superjson to use in your Remix app

This package is a replacement for superjson to use in your Remix app

This package is a replacement for superjson to use in your Remix app. It handles a subset of types that superjson supports, but is faster and smaller.

Jan 3, 2023

A modern replacement for jQuery.marquee

vanilla-marquee An es5 vanilla-js implementation of jQuery.marquee Installation npm i vanilla-marquee Usage import marquee from 'vanilla-marquee' ne

Dec 27, 2022

A beautiful, responsive, highly customizable and accessible replacement for JavaScript's popup boxes. Zero dependencies.Alerts ,dialogs

AsgarAlert (v1) for JS Install script defer src="/asgar-alert.js"/script Examples The most basic message: asgar("Hello world!"); A message signali

Dec 20, 2022

Selectator is a jQuery-based replacement for select boxes

DEPRECATED - no longer actively maintained Selectator Selectator is a jQuery-based replacement for select boxes. It supports searching, custom rendere

Dec 16, 2022
Comments
  • Change version of

    Change version of "illuminate/contracts"

    Hello Please change "illuminate/contracts" required version from this: "illuminate/contracts": "^9.0" to: "illuminate/contracts": "^8.0|^9.0"

    otherwise it is not working in some cases and says: Only one of these can be installed: laravel/framework[v8.0.0, ..., 8.x-dev], illuminate/contracts[v9.0.0-beta.1, ..., 9.x-dev]. laravel/framework replaces illuminate/contracts and thus cannot coexist with it.

    opened by asefsoft 2
  •  پارامتر closeOnDateSelection  کار نمیکنه

    پارامتر closeOnDateSelection کار نمیکنه

    سلام ممنون از زحمتی که برا پلاگین کشیدید

    پارامتر closeOnDateSelection کار نمیکنه

    : و ابنکه لینک Ask a question در اینجاد issues ایراد داره و 404 میده

    enhancement 
    opened by sh4msi 1
  • update date time picker

    update date time picker

    Sync the DateTimePicker component with the latest version of filament https://github.com/filamentphp/filament/releases/tag/v2.16.55

    this update includes some bug fixes and it now support closeOnDateSelection

    opened by ariaieboy 0
Releases(1.2.1)
  • 1.2.1(Dec 13, 2022)

    What's Changed

    • fix locale not loading by @ariaieboy in https://github.com/ariaieboy/filament-jalali-datetimepicker/pull/8

    Note: Due to bundle size problem we only support en, fa, ar locale from this release.

    Full Changelog: https://github.com/ariaieboy/filament-jalali-datetimepicker/compare/1.2.0...1.2.1

    Source code(tar.gz)
    Source code(zip)
  • 1.2.0(Dec 12, 2022)

    What's Changed

    • update date time picker by @ariaieboy in https://github.com/ariaieboy/filament-jalali-datetimepicker/pull/6

    Full Changelog: https://github.com/ariaieboy/filament-jalali-datetimepicker/compare/1.1.0...1.2.0

    Source code(tar.gz)
    Source code(zip)
  • 1.1.0(Sep 13, 2022)

  • 1.0.2(Aug 14, 2022)

    What's Changed

    • add filament/form standalone support by @ariaieboy in https://github.com/ariaieboy/filament-jalali-datetimepicker/pull/3

    Full Changelog: https://github.com/ariaieboy/filament-jalali-datetimepicker/compare/1.0.1...1.0.2

    Source code(tar.gz)
    Source code(zip)
  • 1.0.1(Jun 12, 2022)

  • 1.0.0(Jun 3, 2022)

Owner
AriaieBOY
:|
AriaieBOY
An efficient drop-in replacement for JSON.

JCOF: JSON-like Compact Object Format A more efficient way to represent JSON-style objects. Status This format isn't nailed down yet. Most changes wil

Martin Dørum 147 Nov 26, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
A javascript solar (jalali) datepicker for HTML.

jdatepicker A Javascript solar (jalali) datepicker for HTML. Installation Install via NPM: npm install jdatepicker Install via CDN <script src="https:

Habibullah Mohammadi 11 Sep 15, 2022
Angular material date-fns adapter (Support jalali)

Angular material date-fns adapter (Support jalali) What is this? This library provides a custom DateAdapter for the Angular Material Datepicker compon

mohsen 9 Dec 3, 2022
A phone input component that uses intl-tel-input for Laravel Filament

Filament Phone Input This package provides a phone input component for Laravel Filament. It uses International Telephone Input to provide a dropdown o

Yusuf Kaya 24 Nov 29, 2022
Easy way to change filament theme color on the fly.

Filament Theme Color Easy way to change filament theme color on the fly. In some projects, it is interesting to be able to change the main colors of a

Uccello Labs 8 Nov 20, 2022
Automatic arxiv->ar5iv link replacement in Chrome.

Automatic arxiv->ar5iv link replacement in Chrome. This chrome extension will automatically replace arxiv.org/pdf/* links with ar5iv links for more we

yobi byte 44 Oct 29, 2022
Replacement for comma.ai backend and useradmin dashboard

Replacement for comma.ai backend and useradmin dashboard. Bundled with a modified version of comma's cabana to allow viewing & analyzing drives.

null 15 Jan 1, 2023