Converting date from Hijri/Islamic Calendar to Georgian calendar
问题 Im trying to convert a date in this format (1 بهمن 1397) into a Georgian calendar datetime. I'm using dateparser and I keep getting the type error: "'<=' not supported between instances of 'str' and 'int'". This is the relevant part of the script: date = HijriCalendar(u'24 دی 1397').get_date() print(date) 回答1: The date is not Hijri/Islamic date(Lunar), it is Iranian date(Solar) en.wikipedia.org/wiki/Iranian_calendars. You should search for persian/iranian/khorshidi/jalali calendars. Khayyam3