Skip to content

Zellias/tkinter-jalali-datepicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Jalali Datepicker

shahname image.

Jalali Datepicker is a Python script that provides a simple GUI for selecting Jalali (Persian) dates using the tkinter library. It allows users to pick a date and displays it in the format "YYYY-MM-DD." This script can be integrated into other applications or used as a standalone date selection tool.

How to Use

  1. Clone or download the script from GitHub.

  2. Run the script.

  3. Click the "بازکردن تقویم" (Open Calendar) button to open the datepicker window.

  4. In the datepicker window:

    • Use the dropdown menus to select the month and year.
    • Click on a date button to choose a specific day.
  5. The selected date will be displayed in the target entry field in the "YYYY-MM-DD" format.

  6. Close the datepicker window when you are done.

Dependencies

This script relies on the following Python libraries:

  • tkinter: For creating the graphical user interface.
  • tkcalendar: A calendar widget for tkinter.
  • jdatetime: For handling Jalali (Persian) dates.

Make sure you have these libraries installed before running the script.

Author

  • GitHub: Zellias
    • If you find this script useful, please consider leaving a star on the GitHub repository.

Support and Feedback

If you have any questions or need assistance, you can join the Zellias Discord server:

Feel free to contribute to the project, report issues, or suggest improvements on the GitHub repository. Your feedback and contributions are highly appreciated.