Skip to content

UTCDateTime conversion to DateTime is ignoring default timezone #370

Closed
@ravanscafi

Description

@ravanscafi

When using MongoDB\BSON\UTCDateTime::toDateTime method, the retrieved DateTime has a wrong timezone set, ignoring the one from config (set on ini file).
I hope that the screenshot below is enough.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions