samanzamani / PersianDate

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

feature request #49

Closed oalee closed 2 years ago

oalee commented 3 years ago

for the first one, I'm suggesting to add "p" character before String and Pattern Keys i.e, "'pYYYY-pMM-pdd" and "'py pj'". Another easier and lazier approach would be adding the argument usePersianDialect to parse and format functions and just replace Latin numerals to Persians before parsing and after formatting. I could implement this feature, since Kotlin first, i could also convert the project to Kotlin.

the second one is as easy as the implemented adding day/month/year functionality, instead of adding to timeInMilliSecond we could subtract.

let me know what you think.

samanzamani commented 3 years ago

Hi Thank you for your suggestion. Since v0.9 is almost ready for release with some important bug fix, I will consider this feature for the first stable version v1.0.

samanzamani commented 2 years ago

Support Farsi character add in v1.3.3

https://github.com/samanzamani/PersianDate/issues/46