Skip to content

Incorrect time string when system timezone is not GMT #171

@jaclam1

Description

@jaclam1

$date = date("D, d M Y G:i:s ").GlobalParameter::GMT;

When system time zone is not GMT, this line will return the local time string and attach a GMT suffix behind. API call will fail with "UNAUTHORIZED_USER" because of the "iat" field in JWT payload different from current time too much.

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