Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

Include timezone in datetime outputs #12

@davidyell

Description

@davidyell

When outputting a datetime string it should be customised to the timezone and locale.

$entity->get('modified')->nice('Europe/London', 'en_GB');
$entity->get('modified')->timeAgoInWords(['timezone' => 'Europe/London']);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions