rgaudin / tools

3 stars 14 forks source link

Does not support 13 month #7

Open nurads opened 6 months ago

nurads commented 6 months ago

I tried the following input year=2024 month=9 date=7 to convert to ethiopian calander but raises issues as datetime object does not support 13 month

return datetime.date(ethiopian_year, ethiopian_month, ethiopian_date)
ValueError: month must be in 1..12
rgaudin commented 6 months ago

Surely a weakness in the code that was unforeseen. I'm sorry I have lost my knowledge of the Ethiopian calendar. I invite you to look at another project