Python package to convert accurately between Hijri and Gregorian dates
A Python package to convert accurately between Hijri and Gregorian dates using the Umm al-Qura calendar of Saudi Arabia.
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:Rebuild/python-hijri-converter && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
hijri-converter-2.2.4.tar.gz | 0000042179 41.2 KB | |
python-hijri-converter.changes | 0000001946 1.9 KB | |
python-hijri-converter.spec | 0000001741 1.7 KB |
Latest Revision
Dominique Leuenberger (dimstar_suse)
accepted
request 1069085
from
Steve Kowalik (StevenK)
(revision 2)
- Update to 2.2.4: * Fixed location of type checking marker file. (#10 bt @dimbleby) * Added some missing variable annotations to ummalqura module. * Fixed an issue when generating documentation. * Fixed some typos in docstrings and improved documentation. * Other minor fixes and enhancements. * Fixed calculation of month 12 of year 1354 AH. * Fixed an issue when generating documentation without the package being installed. (#7) * Refactored internal helper functions. * Added today() classmethod to Hijri class to get the Hijri Object of today's date. * Added separator and padding parameters to dmyformat() method to have more control on formatting. * Refactored locales for better management and testing. * Updated main classes to be conveniently imported into the package level e.g. from hijri_converter import Hijri, Gregorian. * Removed deprecated method slashformat() from Hijri and Gregorian classes. * Other minor fixes and internal enhancements. * Changed Hijri rich comparison to return NotImplemented when the second operand is not Hijri class. * Updated packaging configuration files and local development workflow. * Other minor fixes and documentation enhancements. * Added dmyformat() to return dates in DD/MM/YYYY format. * Deprecated slashformat() method to be replaced by dmyformat() method. * Fixed PyPI package not including some required files. (#3) - Stop using python_sitelib/*
Comments 0