-
Notifications
You must be signed in to change notification settings - Fork 22
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
TimeAgo-react not using locale translated in timeago repo #2
Comments
Sorry for late. This library has not achieve the API Next version, I will add it, if you have some ideal, welcome to PR. |
Thank you ! 👍 |
Hello, the locales are still not working. even in the demo page. I tried to change the locale in React dev tools and it turned out it only works with Edit: it seems like you have to call |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
apparently the timeago-react is unable to find locales that are translated in the timeago repo
<TimeAgo datetime={article.createdAt} locale='zh_CN' />
works but all other languages:
fallback to english default.
Am i doing sth wrong ?
The text was updated successfully, but these errors were encountered: