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

Weird conversion behaviour #33

Open
mokhosh opened this issue Sep 14, 2019 · 1 comment
Open

Weird conversion behaviour #33

mokhosh opened this issue Sep 14, 2019 · 1 comment
Assignees
Labels

Comments

@mokhosh
Copy link

mokhosh commented Sep 14, 2019

Just see the output:

Datium::create(1398, 6, 31, 23, 59, 59)->from('jalali')->get();
// "2019-09-23 23:59:59"

Datium::create(1398, 6, 30, 23, 59, 59)->from('jalali')->get();
// "2019-09-21 23:59:59"

how is this even possible? what ever happened to 22nd?!

@shahrokhniakan
Copy link
Contributor

@mokhosh Thank you for your report, I'll fix it as soon as possible, I know where is the bug.

@shahrokhniakan shahrokhniakan self-assigned this Sep 15, 2019
@shahrokhniakan shahrokhniakan pinned this issue Sep 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