How peymaanabedin/persianscrollingdatepicker works
This repository is a browser-based Persian (Jalali) scrolling date picker. The documented user flow is: a user opens the picker from an input, scrolls through year/month/day choices, and confirms a date that is written to the input as YYYY-MM-DD. The README describes modal UI, iOS-style scrolling, Jalali date calculations, and jQuery-based DOM/event handling. Only the HTML file is present in the tree; source excerpts were unavailable, so implementation details beyond those documented are not inferred.
Main entry points: PersianScrollingDatePicker.html Picker Modal
Components 8
Picker UI
- Date Input
PersianScrollingDatePicker.html - Picker Modal
PersianScrollingDatePicker.html
Date Selection
- Scrolling Selector
PersianScrollingDatePicker.html - Jalali Calculations
PersianScrollingDatePicker.html
Browser Dependencies
- jQuery
- jalaali-js
- Tailwind CSS
Other components
- User
Connections 9
- User → Date Input: opens picker
README.md - Date Input → Picker Modal: opens modal
README.md - User → Scrolling Selector: scrolls choices
README.md - Scrolling Selector → Jalali Calculations: selects dates
README.md - Jalali Calculations → jalaali-js: calculates months
README.md - Picker Modal → jQuery: handles DOM events
README.md - Picker Modal → Tailwind CSS: uses styling
README.md - User → Picker Modal: confirms date
README.md - Picker Modal → Date Input: writes formatted date
README.md