samanzamani / PersianDate

Persian date for android
BSD 3-Clause "New" or "Revised" License
326 stars 40 forks source link

Problem in time parsing #64

Closed am3n closed 2 years ago

am3n commented 2 years ago

https://github.com/samanzamani/PersianDate/blob/f660ca117dded80084f7b63b12ca5f777d8327ec/persiandate/src/main/java/saman/zamani/persiandate/PersianDateFormat.java#L201

It should be like this:

return new PersianDate()
        .initJalaliDate(JalaliDate.get(0), JalaliDate.get(1), JalaliDate.get(2), JalaliDate.get(3),
            JalaliDate.get(4), JalaliDate.get(5));
samanzamani commented 2 years ago

Hi @am3n Thank you for your report. I will check it.

samanzamani commented 2 years ago

Bug fixed in v1.5.0