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

Bug Fixme! Error on formatting the date #22

Closed
lcyper opened this issue Jun 19, 2022 · 1 comment
Closed

Bug Fixme! Error on formatting the date #22

lcyper opened this issue Jun 19, 2022 · 1 comment

Comments

@lcyper
Copy link
Contributor

lcyper commented Jun 19, 2022

image

image

how to reproduce:

DateTime _currentDate = DateTime.now(); // 6/19/2022
final JewishCalendar jewishCalendar =
JewishCalendar.fromDateTime(_currentDate);
HebrewDateFormatter hebrewDateFormatter = HebrewDateFormatter();
String hebrewDate = hebrewDateFormatter.format(jewishCalendar);

the problem is when convert the date

formatDate = "20 Sivan 5782"

now "formatDate" have an "a" so it converts to "PM"
ending formatDate = "20 SivPMn 5782"

file: \kosher_dart-2.0.11\lib\src\hebrewcalendar\hebrew_date_formatter.dart

@yakir8
Copy link
Owner

yakir8 commented Jun 25, 2022

Fixed on pull request #23

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants