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

'g' formatter value is is formatted to the same String as H #71

Closed
yasanglass opened this issue Jul 13, 2022 · 2 comments
Closed

'g' formatter value is is formatted to the same String as H #71

yasanglass opened this issue Jul 13, 2022 · 2 comments
Labels

Comments

@yasanglass
Copy link

کد H و g هردو ساعت رو به صورت ۲۴ ساعته نشون میدند درحالی که g باید همیشه ۱۲ ساعته باشه.

با بررسی کد های ‍PersianDateFormat بنظر این دو همیشه به یک عدد تبدیل میشند و داخل فرمتر کدی که تبدیلشون میکنه کاملا یکی هست درحالی که باید متفاوت باشه.

@yasanglass yasanglass changed the title 'g' formatter value is the same as H 'g' formatter value is is formatted to the same String as H Jul 13, 2022
@samanzamani
Copy link
Owner

سلام
ممنون از گزارشی که دادید
حتما چکش می کنم

@samanzamani
Copy link
Owner

samanzamani commented Jul 15, 2022

سلام @yasandev
همون طور که به درستی اشاره کرده بودی کلمات ‍‍H و g عملکرد یکسانی در کلاس PersianDateFormat داشتند که در نسخه 1.5.4 اصلاح شد.
لطفا کتابخانه رو به آخرین نسخه بروزرسانی کن و مجدد بررسی کن.
با تشکر از وقتی که گذاشتی و برای بهبود این کتابخانه مشکلات گزارش کردی.

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