Skip to content

Conversation

@tomastan
Copy link

Fixing Croatian translations of relativeTime

image

Fixing Croatian translations of relativeTime
@tomastan
Copy link
Author

tomastan commented Oct 8, 2024

We have noticed that selection of the month name is incorrect due to wrong localized format detection regexp. So modified this as well.
Here is an example, how existing test should fail: https://jsfiddle.net/k6Lze0ta/

Fix year relative locality
@tomastan
Copy link
Author

In f61c511 I additionally fixed "in 1 year" from incorrect "za 1 godina" to "za 1 godinu". While it is not 100 perfect in all cases, it is still better than mistaken value set currently.

Added support for more correct relative time of various month and year forms depending on the value in Croatian language
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

Successfully merging this pull request may close these issues.

2 participants