Overview
The shamsi_date package provides comprehensive support for the Jalali (Shamsi, Solar, Persian) calendar in Flutter and Dart applications. It enables seamless conversion between Jalali and Gregorian (Miladi) dates and times, along with formatting and manipulation capabilities. Ideal for apps targeting Persian-speaking regions or requiring solar calendar integration, it supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux. The package is lightweight and easy to integrate via pub.dev.
Use cases
- Iranian calendar applications
- Persian date formatting
- Calendar conversions
- Localizing apps for Persian users
- Time zone-aware date handling
Key features
- Jalali-Gregorian date conversion
- Date formatting and parsing
- Cross-platform compatibility
- Support for all major operating systems
- Simple API for date manipulation
Suitable for
- Apps for Iranian users
- Educational tools with historical dates
- Cultural or religious event planners
- International apps needing Persian calendar support
- Developers building multilingual interfaces
Considerations
- Requires understanding of Jalali calendar system
- Limited documentation beyond basic usage
- May need additional localization for full UI integration
- Not optimized for high-frequency date operations
- Depends on external library for core calculations