Khayyam3(Jalali Persian Datetime) library. This is fork of the original khayyam library which supports both Python 2.6 above and Python 3. The original Khayyam library is available at: https://pypi.python.org/pypi/Khayyam
Project description
Khayyam3 is a library to use date & time in persian style(known as Jalali calendar or khayyam alg)
It’s designed to replace the python standard “datetime.datetime” class with “khayyam3.JalaliDatetime”. the “khayyam3.JalaliDatetime” has two additional methods, that can be used to convert it to gregorian calendar and vice-versa:
to_datetime(self)
from_datetime(cls)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Khayyam3-1.0.0.tar.gz
(8.9 kB
view hashes)