Skip to content

Support alternative relative formatting of days #97

Description

@jakubturcovsky

It'd be nice if we could get an alternative wording of 1 day ago, in 1 day in HumanReadable.timeAgo() as yesterday and tomorrow, and also be able to format date only, which could return today instead of 0 days ago. The second part could probably be integrated into the HumanReadable.timeAgo() function as a parameter stating the smallest unit that should be used (and maybe also the largest one as a second parameter, why not 🙂 ).

I'm ready to help with the implementation once we agree on a solution.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions