-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Improve hungarian localization #1111
Labels
Comments
Maybe this is what you are looking for https://day.js.org/docs/en/customization/relative-time#additional-token-processing |
Exactly, thanks, will customize my localization locally and once it's looking good I will create a PR to provide a fix for everybody. |
Cheers |
🎉 This issue has been resolved in version 1.9.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
I would like to improve the hungarian localization! Currently the package does not handle the past relative times at all. The main problem is that in hungarian we don't have a single word to show that a date is in the past, like
ago
in english. Instead we add letters to each word, for example:3 years ago
=>3 éve
whereév
meansyear
in hungarian2 hours ago
=>2 órája
whereóra
meanshour
in hungarian15 minutes ago
=>15 perce
whereperc
meansminute
in hungarianDoes the package support this kind of localization? If not yet I'm happy to dig in the code and add a solution to this if someone can point me in the right direction. Here is how date-fns implements this.
Thanks!
The text was updated successfully, but these errors were encountered: