Skip to content

Update Axe format date to accept UTC dates #61

@adampatterson

Description

@adampatterson

If UTC is passed into the function then set the timezone

https://github.com/adampatterson/Axe-Helpers/blob/main/src/Helpers.php#L556

return Carbon::parse($date, 'UTC')->setTimezone(wp_timezone_string())->format($format);

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions