Skip to content

i18n: timesince function needs review #375

@achumakov

Description

@achumakov

timesince() needs internationalization, as it currenly produces English-only output (M jS template; 'ago', etc.)

This is not really easy task as both PHP and Wordpress lack proper i18n mechanics for this task.

Maybe, just fallback to datetime without any 'ago' attempts when current locale is not English.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions