alibaba / alibaba/react-intl-universal

Support for relative date/time?

Open
#111 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.4k
Forks
158
Avg merge
2h 9m
Merged PRs (30d)
1

Description

Hi,

Congrats on the good work that you are doing!

Question. Do you plan to support for displaying dates relative to "now"

e.g.:
5 min ago
2 hours ago
2 days ago
...

react-intl has support for it, or maybe incorporate something like "react-timeago"

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no implementation files or tests. Review the library's current date/time formatting surface, compare the requested “5 min ago” examples with react-intl and react-timeago, and define the supported relative-time behavior and tests before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
internationalization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.