Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with converting Gregorian date to Jalali #19

Closed
mobinzk opened this issue Apr 14, 2019 · 2 comments
Closed

Issue with converting Gregorian date to Jalali #19

mobinzk opened this issue Apr 14, 2019 · 2 comments
Labels

Comments

@mobinzk
Copy link

mobinzk commented Apr 14, 2019

When I try to convert this specific date 2018/12/15 (Year/Month/Day) I get crash saying arrayindexoutofboundsexception.

Here is an example that I get crash with.

PersianDate pdate = new PersianDate().initGrgDate(2018,12,15);
PersianDateFormat pdformater = new PersianDateFormat("Y/m/d");
String dd = pdformater.format(pdate);

Could you please advise me on this please?

@samanzamani
Copy link
Owner

Thank you for your report.
I solved this issue in version 0.6

@mobinzk
Copy link
Author

mobinzk commented Apr 15, 2019

Thanks for your rapid respond and to resolve the issue.

@mobinzk mobinzk closed this as completed Apr 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants