jalali-calendar icon indicating copy to clipboard operation
jalali-calendar copied to clipboard

DateConverter is not stateless

Open Raeisifard opened this issue 3 years ago • 1 comments

When I run the code retrieved from "Some basic code" section in read.me file there is "1370-12-17" in jalaliDate1 as value instead of "1370-11-28". It seems that "dateConverter" is one time usable and is not stateless. So after each use of "dateConverter.jalaliToGregorian()" I must instantiate it again!

Raeisifard avatar Jul 04 '21 16:07 Raeisifard