pkgsrc-wip/py-khayyam/DESCR

11 lines
366 B
Plaintext

Khayyam 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
"khayyam.JalaliDatetime". the "khayyam.JalaliDatetime" has two additional
methods, that can be used to convert it to gregorian calendar and vice-versa:
to_datetime(self)
from_datetime(cls