Closed mohammaddvlpr closed 2 years ago
Hi @mohammaddvlpr
Would you please add data
variable data in your question so I can check?
hey, i just init PersianDate and nothing more.
val persianDate = PersianDate(date)
the date object is in UTC TimeZone
stack trace:
ArrayIndexOutOfBoundsException
length=13; index=-1
saman.zamani.persiandate.PersianDate in toJalali
saman.zamani.persiandate.PersianDate in prepareDate
saman.zamani.persiandate.PersianDate in setGrgDay
saman.zamani.persiandate.PersianDate in prepareDate2
saman.zamani.persiandate.PersianDate in setShYear
saman.zamani.persiandate.PersianDate in initGrgDate
saman.zamani.persiandate.PersianDate in changeTime
saman.zamani.persiandate.PersianDate in <init> at line 194
Update to v1.4.0
Hi, I have an issue when initialize PersianDate object:
val date = PersianDate(date)
the date is in UTC Time Zone
here's the stack trace
thanks for your support!