Skip to content

Call to date_default_timezone_set breaks applications using the sdk #115

@peterlozano

Description

@peterlozano

See: https://github.com/AuthorizeNet/sdk-php/blob/master/lib/net/authorize/api/controller/base/ApiOperationBase.php#L51

This call resets the timezone to UTC, which overrides the configured php timezone or whatever timezone the application may have set.

Any call to "new Datetime()" made after any operation with authorize.net will generate an UTC time.

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