Skip to content

Weird conversion behaviour #33

Open

Description

@mokhosh

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?!

Activity

  1. shahrokhniakan commented on Sep 15, 2019

    @shahrokhniakan
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions