fengyuanchen/datepicker — a frontend project — sits at 1.1k GitHub stars in the Frontend space. ⚠️ [Deprecated] No longer maintained. A simple jQuery datepicker plugin.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
You may set datepicker options with $().datepicker(options).
If you want to change the global default options, You may use $.fn.datepicker.setDefaults(options).
autoShow
Type: Boolean
Default: false
Show the datepicker automatically when initialized.
autoHide
Type: Boolean
Default: false
Hide the datepicker automatically when picked.
autoPick
Type: Boolean
Default: false
Pick the initial date automatically when initialized.
inline
Type: Boolean
Default: false
Enable inline mode.
If the element is not an input element, will append the datepicker to the element.
If the container option is set, will append the datepicker to the container.
container
Type: Element or String(selector)
Default: null
A element for putting the datepicker. If not set, the datepicker will be appended to document.body by default.
Only works when the inline option set to true.
trigger
Type: Element or String(selector)
Default: null
A element for triggering the datepicker.
language
Type: String
Default: ''
The ISO language code. If not set, will use the built-in language (en-US) by default.
You should define the language first. View the I18n section for more information or check out the i18n folder for available languages.
$().datepicker({
language: 'en-GB'
});
format
Type: String
Default: 'mm/dd/yyyy'
Available date placeholders:
Year: yyyy, yy
Month: mm, m
Day: dd, d
The date string format.
$().datepicker({
format: 'yyyy-mm-dd'
});
date
Type: Date or String
Default: null
The initial date. If not set, will use the current date by default.
$().datepicker({
date: new Date(2014, 1, 14) // Or '02/14/2014'
});
startDate
Type: Date or String
Default: null
The start view date. All the dates before this date will be disabled.
endDate
Type: Date or String
Default: null
The end view date. All the dates after this date will be disabled.
Note: All the data-view attributes must be set when you customize it.
offset
Type: Number
Default: 10
The offset top or bottom of the datepicker from the element.
zIndex
Type: Number
Default: 1
The CSS z-index style for the datepicker.
filter
Type: Function
Default: null
Syntax: filter(date, view)
date: the date for checking.
view: the the current view, one of day, month or year.
Filter each date item. If return a false value, the related date will be disabled.
var now = Date.now();
$().datepicker({
filter: function(date, view) {
if (date.getDay() === 0 && view === 'day') {
return false; // Disable all Sundays, but still leave months/years, whose first day is a Sunday, enabled.
}
}
});
How active is development on fengyuanchen/datepicker?
The most recent commit recorded on fengyuanchen/datepicker was 4.4 years ago, based on the GitHub push timestamp. The repository has 520 forks — one of the better signals of community interest.
How does fengyuanchen/datepicker compare to other Frontend projects?
fengyuanchen/datepicker is tracked by TopGit in the Frontend category, with 1.1k GitHub stars and written in JavaScript. Browse the Frontend topic page on TopGit to compare it against similar projects by stars and activity.
How many stars does fengyuanchen/datepicker have?
fengyuanchen/datepicker has 1.1k GitHub stars — refresh the page for the live number, or check github.com/fengyuanchen/datepicker. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
What is fengyuanchen/datepicker?
fengyuanchen/datepicker (fengyuanchen/datepicker) is a JavaScript project on GitHub. From the project's own README: ⚠️ [Deprecated] No longer maintained. A simple jQuery datepicker plugin.
What language is fengyuanchen/datepicker written in?
fengyuanchen/datepicker is written primarily in JavaScript. GitHub's language field is based on the largest share of bytes in the default branch.
What topics is fengyuanchen/datepicker associated with?
GitHub's repository topics for fengyuanchen/datepicker: "datepicker", "javascript", "jquery-datepicker-plugin", "jquery-plugin". TopGit's editorial category is Frontend.
Why is fengyuanchen/datepicker categorized under Frontend?
TopGit places fengyuanchen/datepicker in the Frontend category based on its GitHub topics and description (tagged: "datepicker", "javascript", "jquery-datepicker-plugin"). Categories are assigned from real repository metadata, not editorial guesswork.
Read full README in the tab above.
Is datepicker worth your time?
ChatGPT, Claude and Perplexity can all read this page. Ask one of them what it makes of datepicker.