Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] "Every {count} {intervalName}" support #233

Open
KamilSztandur opened this issue Sep 6, 2024 · 0 comments
Open

[Feature Request] "Every {count} {intervalName}" support #233

KamilSztandur opened this issue Sep 6, 2024 · 0 comments

Comments

@KamilSztandur
Copy link

I was wondering if we could add support for the localized strings like every {count} {intervalName}, for example:

  • "every 2 weeks"
  • "every 7 months"
  • "every year" / "yearly"

In Unicode CLDR, there are predefined translations for every x <period> for various languages. It would be great if timeago could incorporate these, making it easier to display such recurring intervals in a localized way.

You can find more details in the Unicode CLDR specification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant