Ext.ux.JalaliDatePlugin
An ExtJS plugin for DatePicker, DateMenu and DateField.
Install / Use
/learn @behrang/Ext.ux.JalaliDatePluginREADME
Ext.ux.JalaliDatePlugin
About
JalaliDatePlugin is an ExtJS plugin for DatePicker, DateMenu and DateField components. It converts their calendar to Jalali (Khorshidi or Shamsi) calendar. It supports Ext 3.2.1 and Ext 4.2.1.
Installation
To install Ext.ux.JalaliDatePlugin, include the following on your page:
<script src="Jalali.js"></script>
<script src="JalaliDate.js"></script>
<script src="JalaliDatePlugin.js"></script>
If you want a Persian localization, include this one too:
<script src="JalaliDatePlugin-fa_IR.js"></script>
Usage
Usage is very easy. Just add Ext.ux.JalaliDatePlugin to DatePicker, DateMenu or DateField's plugins property:
var datePicker = new Ext.DatePicker({
plugins: ['jalalidate']
});
Please note that all other configuration properties of components like minDate, maxDate, disabledDays and disabledDates work as expected.
You can globally disable all Jalali fields with this:
Ext.ux.JalaliDatePlugin.enabled = false;
Example
Download or clone the code and then open example.html file in your browser.
License
Jalali.js is licensed under the terms of the LGPL license.
Other files are licensed under the terms of the MIT license.
Related Skills
node-connect
349.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.7kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。

