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

Wrong display of year output in lowercase y #134

Closed
enaeim opened this issue Dec 22, 2021 · 1 comment
Closed

Wrong display of year output in lowercase y #134

enaeim opened this issue Dec 22, 2021 · 1 comment
Labels

Comments

@enaeim
Copy link

enaeim commented Dec 22, 2021

Hi.

Wrong display of year output, When I use lowercase y on format method. e.g.:

        Jalalian::fromDateTime('2021-12-22 18:30:00')->format('%y-%m-%d');
        Jalalian::fromDateTime('2021-12-22 18:30:00')->format('%A, %d %B %y');
        Jalalian::fromDateTime('2021-12-22 18:30:00')->format('%d %B %y، ساعت H:i');

out put:

image

This problem exists for all years between 1400 and 1409.

@morilog morilog added the bug label Dec 22, 2021
@morilog
Copy link
Owner

morilog commented Aug 7, 2022

This has been fixed long time ago

@morilog morilog closed this as completed Aug 7, 2022
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